diff options
-rw-r--r-- | src/import/tools/build/common.dir/script.rules.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/import/tools/build/common.dir/script.rules.mk b/src/import/tools/build/common.dir/script.rules.mk index 7cbf01240..dfa8f4b42 100644 --- a/src/import/tools/build/common.dir/script.rules.mk +++ b/src/import/tools/build/common.dir/script.rules.mk @@ -5,7 +5,7 @@ # # OpenPOWER HostBoot Project # -# Contributors Listed Below - COPYRIGHT 2015,2016 +# Contributors Listed Below - COPYRIGHT 2015,2019 # [+] International Business Machines Corp. # # @@ -42,6 +42,7 @@ # Input: # * Optional input to delay the running of BUILD_GENERATED macro to a # later phase EXE or MODULE. +# BUILD_GENERATED = $(eval $(call __BUILD_GENERATED,$1)) # Order of operations: @@ -73,7 +74,7 @@ $(call __CLEAN_TARGET,$$($(GENERATED)_PATH)/.$(GENERATED).built) $(foreach target,$(TARGETS),\ $(call CLEAN_TARGET,$$($(GENERATED)_PATH)/$(target))) -$(or $1,GEN)_TARGETS += $$($(GENERATED)_PATH)/.$(GENERATED).built +$(or $(strip $1),GEN)_TARGETS += $$($(GENERATED)_PATH)/.$(GENERATED).built GENERATED:= COMMAND:= |