mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1168251 - Do a partial recursion when doing make -C some/path compile. r=gps
This commit is contained in:
parent
78f25cd720
commit
cb68126814
@ -65,9 +65,10 @@ CURRENT_DIRS := $($(CURRENT_TIER)_dirs)
|
||||
|
||||
# Need a list of compile targets because we can't use pattern rules:
|
||||
# https://savannah.gnu.org/bugs/index.php?42833
|
||||
# Only recurse the paths starting with RECURSE_BASE_DIR when provided.
|
||||
.PHONY: $(compile_targets)
|
||||
$(compile_targets):
|
||||
$(call SUBMAKE,$(@F),$(@D))
|
||||
$(if $(filter $(RECURSE_BASE_DIR)%,$@),$(call SUBMAKE,$(@F),$(@D)))
|
||||
|
||||
# The compile tier has different rules from other tiers.
|
||||
ifneq ($(CURRENT_TIER),compile)
|
||||
@ -125,7 +126,8 @@ $(foreach subtier,$(filter-out compile,$(TIERS)),$(eval $(call CREATE_SUBTIER_TR
|
||||
|
||||
ifndef TOPLEVEL_BUILD
|
||||
ifdef COMPILE_ENVIRONMENT
|
||||
libs:: target host
|
||||
compile::
|
||||
@$(MAKE) -C $(DEPTH) compile RECURSE_BASE_DIR=$(relativesrcdir)/
|
||||
endif # COMPILE_ENVIRONMENT
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user