Bug 1055204 - Build C/C++ code when recursing from non-toplevel builds. r=gps
authorMike Hommey <mh+mozilla@glandium.org>
Tue, 26 Aug 2014 09:33:58 +0900
changeset 201603 e1174da6b7078a99c67f439f178e8558ba5c8473
parent 201602 0843c26857a9d0534a461ec3fdacfd8b6112167e
child 201604 ea2c4929d8d4a2e98e70faf99a8f8f9516d947a6
push id27375
push userryanvm@gmail.com
push dateTue, 26 Aug 2014 19:56:59 +0000
treeherdermozilla-central@f9bfe115fee5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs1055204
milestone34.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1055204 - Build C/C++ code when recursing from non-toplevel builds. r=gps
config/recurse.mk
--- a/config/recurse.mk
+++ b/config/recurse.mk
@@ -145,16 +145,20 @@ define CREATE_SUBTIER_TRAVERSAL_RULE
 
 $(1):: $$(SUBMAKEFILES)
 	$$(LOOP_OVER_DIRS)
 
 endef
 
 $(foreach subtier,export libs tools,$(eval $(call CREATE_SUBTIER_TRAVERSAL_RULE,$(subtier))))
 
+ifndef TOPLEVEL_BUILD
+libs:: target host
+endif
+
 endif # ifdef TIERS
 
 endif # ifeq ($(NO_RECURSE_MAKELEVEL),$(MAKELEVEL))
 
 endif # ifeq (.,$(DEPTH))
 
 recurse:
 	@$(RECURSED_COMMAND)