aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index cdb9b23fcfc5..546515cd07f3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
1VERSION = 3 1VERSION = 3
2PATCHLEVEL = 4 2PATCHLEVEL = 4
3SUBLEVEL = 0 3SUBLEVEL = 0
4EXTRAVERSION = -rc2 4EXTRAVERSION =
5NAME = Saber-toothed Squirrel 5NAME = Saber-toothed Squirrel
6 6
7# *DOCUMENTATION* 7# *DOCUMENTATION*
@@ -444,7 +444,7 @@ asm-generic:
444 444
445no-dot-config-targets := clean mrproper distclean \ 445no-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
450config-targets := 0 450config-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
984archprepare: archheaders prepare1 scripts_basic 984archprepare: archheaders archscripts prepare1 scripts_basic
985 985
986prepare0: archprepare FORCE 986prepare0: 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)
1051PHONY += archheaders 1051PHONY += archheaders
1052archheaders: 1052archheaders:
1053 1053
1054PHONY += archscripts
1055archscripts:
1056
1054PHONY += __headers 1057PHONY += __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
1058PHONY += headers_install_all 1061PHONY += headers_install_all
@@ -1470,6 +1473,13 @@ kernelrelease:
1470kernelversion: 1473kernelversion:
1471 @echo $(KERNELVERSION) 1474 @echo $(KERNELVERSION)
1472 1475
1476# Clear a bunch of variables before executing the submake
1477tools/: FORCE
1478 $(Q)$(MAKE) LDFLAGS= MAKEFLAGS= -C $(src)/tools/
1479
1480tools/%: 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: