aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 914e5f514888..0a20cd413b02 100644
--- a/Makefile
+++ b/Makefile
@@ -414,7 +414,7 @@ endif
414no-dot-config-targets := clean mrproper distclean \ 414no-dot-config-targets := clean mrproper distclean \
415 cscope TAGS tags help %docs check% \ 415 cscope TAGS tags help %docs check% \
416 include/linux/version.h headers_% \ 416 include/linux/version.h headers_% \
417 kernelrelease kernelversion 417 kernelrelease kernelversion %src-pkg
418 418
419config-targets := 0 419config-targets := 0
420mixed-targets := 0 420mixed-targets := 0
@@ -1158,6 +1158,8 @@ distclean: mrproper
1158# rpm target kept for backward compatibility 1158# rpm target kept for backward compatibility
1159package-dir := $(srctree)/scripts/package 1159package-dir := $(srctree)/scripts/package
1160 1160
1161%src-pkg: FORCE
1162 $(Q)$(MAKE) $(build)=$(package-dir) $@
1161%pkg: include/config/kernel.release FORCE 1163%pkg: include/config/kernel.release FORCE
1162 $(Q)$(MAKE) $(build)=$(package-dir) $@ 1164 $(Q)$(MAKE) $(build)=$(package-dir) $@
1163rpm: include/config/kernel.release FORCE 1165rpm: include/config/kernel.release FORCE