Commit 61eca933 authored by Masahiro Yamada's avatar Masahiro Yamada

kbuild: rpm-pkg: remove unneeded '-f $srctree/Makefile' in spec file

This is unneeded because the Makefile in the output directory wraps
the top-level Makefile in the srctree.

Just run $MAKE irrespective of the build location.
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 233046a2
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
# how we were called determines which rpms we build and how we build them # how we were called determines which rpms we build and how we build them
if [ "$1" = prebuilt ]; then if [ "$1" = prebuilt ]; then
S=DEL S=DEL
MAKE="$MAKE -f $srctree/Makefile"
else else
S= S=
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment