diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -1,7 +1,7 @@ | |||
1 | VERSION = 3 | 1 | VERSION = 3 |
2 | PATCHLEVEL = 4 | 2 | PATCHLEVEL = 4 |
3 | SUBLEVEL = 0 | 3 | SUBLEVEL = 0 |
4 | EXTRAVERSION = -rc2 | 4 | EXTRAVERSION = |
5 | NAME = Saber-toothed Squirrel | 5 | NAME = Saber-toothed Squirrel |
6 | 6 | ||
7 | # *DOCUMENTATION* | 7 | # *DOCUMENTATION* |
@@ -444,7 +444,7 @@ asm-generic: | |||
444 | 444 | ||
445 | no-dot-config-targets := clean mrproper distclean \ | 445 | no-dot-config-targets := clean mrproper distclean \ |
446 | cscope gtags TAGS tags help %docs check% coccicheck \ | 446 | cscope gtags TAGS tags help %docs check% coccicheck \ |
447 | include/linux/version.h headers_% archheaders \ | 447 | include/linux/version.h headers_% archheaders archscripts \ |
448 | kernelversion %src-pkg | 448 | kernelversion %src-pkg |
449 | 449 | ||
450 | config-targets := 0 | 450 | config-targets := 0 |
@@ -981,7 +981,7 @@ prepare1: prepare2 include/linux/version.h include/generated/utsrelease.h \ | |||
981 | include/config/auto.conf | 981 | include/config/auto.conf |
982 | $(cmd_crmodverdir) | 982 | $(cmd_crmodverdir) |
983 | 983 | ||
984 | archprepare: archheaders prepare1 scripts_basic | 984 | archprepare: archheaders archscripts prepare1 scripts_basic |
985 | 985 | ||
986 | prepare0: archprepare FORCE | 986 | prepare0: archprepare FORCE |
987 | $(Q)$(MAKE) $(build)=. | 987 | $(Q)$(MAKE) $(build)=. |
@@ -1051,8 +1051,11 @@ hdr-dst = $(if $(KBUILD_HEADERS), dst=include/asm-$(hdr-arch), dst=include/asm) | |||
1051 | PHONY += archheaders | 1051 | PHONY += archheaders |
1052 | archheaders: | 1052 | archheaders: |
1053 | 1053 | ||
1054 | PHONY += archscripts | ||
1055 | archscripts: | ||
1056 | |||
1054 | PHONY += __headers | 1057 | PHONY += __headers |
1055 | __headers: include/linux/version.h scripts_basic asm-generic archheaders FORCE | 1058 | __headers: include/linux/version.h scripts_basic asm-generic archheaders archscripts FORCE |
1056 | $(Q)$(MAKE) $(build)=scripts build_unifdef | 1059 | $(Q)$(MAKE) $(build)=scripts build_unifdef |
1057 | 1060 | ||
1058 | PHONY += headers_install_all | 1061 | PHONY += headers_install_all |
@@ -1470,6 +1473,13 @@ kernelrelease: | |||
1470 | kernelversion: | 1473 | kernelversion: |
1471 | @echo $(KERNELVERSION) | 1474 | @echo $(KERNELVERSION) |
1472 | 1475 | ||
1476 | # Clear a bunch of variables before executing the submake | ||
1477 | tools/: FORCE | ||
1478 | $(Q)$(MAKE) LDFLAGS= MAKEFLAGS= -C $(src)/tools/ | ||
1479 | |||
1480 | tools/%: FORCE | ||
1481 | $(Q)$(MAKE) LDFLAGS= MAKEFLAGS= -C $(src)/tools/ $* | ||
1482 | |||
1473 | # Single targets | 1483 | # Single targets |
1474 | # --------------------------------------------------------------------------- | 1484 | # --------------------------------------------------------------------------- |
1475 | # Single targets are compatible with: | 1485 | # Single targets are compatible with: |