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 662e820cfc4a..f6c206a5b01a 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
@@ -1228,6 +1228,8 @@ distclean: mrproper
1228# rpm target kept for backward compatibility 1228# rpm target kept for backward compatibility
1229package-dir := $(srctree)/scripts/package 1229package-dir := $(srctree)/scripts/package
1230 1230
1231%src-pkg: FORCE
1232 $(Q)$(MAKE) $(build)=$(package-dir) $@
1231%pkg: include/config/kernel.release FORCE 1233%pkg: include/config/kernel.release FORCE
1232 $(Q)$(MAKE) $(build)=$(package-dir) $@ 1234 $(Q)$(MAKE) $(build)=$(package-dir) $@
1233rpm: include/config/kernel.release FORCE 1235rpm: include/config/kernel.release FORCE