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 66c94aad3665..7431c283f15b 100644
--- a/Makefile
+++ b/Makefile
@@ -420,7 +420,7 @@ endif
420no-dot-config-targets := clean mrproper distclean \ 420no-dot-config-targets := clean mrproper distclean \
421 cscope TAGS tags help %docs check% coccicheck \ 421 cscope TAGS tags help %docs check% coccicheck \
422 include/linux/version.h headers_% \ 422 include/linux/version.h headers_% \
423 kernelversion 423 kernelversion %src-pkg
424 424
425config-targets := 0 425config-targets := 0
426mixed-targets := 0 426mixed-targets := 0
@@ -1168,6 +1168,8 @@ distclean: mrproper
1168# rpm target kept for backward compatibility 1168# rpm target kept for backward compatibility
1169package-dir := $(srctree)/scripts/package 1169package-dir := $(srctree)/scripts/package
1170 1170
1171%src-pkg: FORCE
1172 $(Q)$(MAKE) $(build)=$(package-dir) $@
1171%pkg: include/config/kernel.release FORCE 1173%pkg: include/config/kernel.release FORCE
1172 $(Q)$(MAKE) $(build)=$(package-dir) $@ 1174 $(Q)$(MAKE) $(build)=$(package-dir) $@
1173rpm: include/config/kernel.release FORCE 1175rpm: include/config/kernel.release FORCE