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