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 |
@@ -1228,6 +1228,8 @@ distclean: mrproper | |||
1228 | # rpm target kept for backward compatibility | 1228 | # rpm target kept for backward compatibility |
1229 | package-dir := $(srctree)/scripts/package | 1229 | package-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) $@ |
1233 | rpm: include/config/kernel.release FORCE | 1235 | rpm: include/config/kernel.release FORCE |