summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2023-07-22 06:47:49 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2023-07-24 17:59:32 +0200
commit61eca933d0a63f0889df604df6bb38938f3c7cad (patch)
tree241a375f015eae52b7f5ea07a82f3d86fd4b616b /scripts
parentkbuild: rpm-pkg: define _arch conditionally (diff)
downloadlinux-61eca933d0a63f0889df604df6bb38938f3c7cad.tar.xz
linux-61eca933d0a63f0889df604df6bb38938f3c7cad.zip
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: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/package/mkspec1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/package/mkspec b/scripts/package/mkspec
index c9299f9c1f3e..a83b17b4a0d9 100755
--- a/scripts/package/mkspec
+++ b/scripts/package/mkspec
@@ -12,7 +12,6 @@
# how we were called determines which rpms we build and how we build them
if [ "$1" = prebuilt ]; then
S=DEL
- MAKE="$MAKE -f $srctree/Makefile"
else
S=