diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -243,11 +243,15 @@ evaluate_subdirs= \ # collect all object files eligible for building subdirs:=$(TOPLEVEL) +postinclude-hooks := $(eval $(call evaluate_subdirs)) ifeq ($(FAILBUILD),1) $(error cannot continue build) endif +# Run hooks registered by subdirectories that need to be evaluated after all files have been parsed +$(eval $(postinclude-hooks)) + # Eliminate duplicate mentions of source files in a class $(foreach class,$(classes),$(eval $(class)-srcs:=$(sort $($(class)-srcs)))) |