diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -414,7 +414,7 @@ endif | |||
414 | no-dot-config-targets := clean mrproper distclean \ | 414 | no-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 | ||
419 | config-targets := 0 | 419 | config-targets := 0 |
420 | mixed-targets := 0 | 420 | mixed-targets := 0 |
@@ -1158,6 +1158,8 @@ distclean: mrproper | |||
1158 | # rpm target kept for backward compatibility | 1158 | # rpm target kept for backward compatibility |
1159 | package-dir := $(srctree)/scripts/package | 1159 | package-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) $@ |
1163 | rpm: include/config/kernel.release FORCE | 1165 | rpm: include/config/kernel.release FORCE |