diff options
author | Prachi Gupta <pragupta@us.ibm.com> | 2015-10-08 20:12:47 -0500 |
---|---|---|
committer | Patrick Williams <iawillia@us.ibm.com> | 2015-12-11 15:30:28 -0600 |
commit | ebd315c945b1ae325c21dc266b80fb47e367fabc (patch) | |
tree | f946b2b03c6872aa06252436e2a8641318fbc171 /src/import/tools/build | |
parent | bf3fd9d8fa3ae5f0e3573ed5c9d19e291244d3ac (diff) | |
download | talos-hostboot-ebd315c945b1ae325c21dc266b80fb47e367fabc.tar.gz talos-hostboot-ebd315c945b1ae325c21dc266b80fb47e367fabc.zip |
IfCompiler: allow procedures to compile against fapi2_ifCompiler plat
Change-Id: I375981c828c052a3bb42e85ea57880f3267ff500
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21120
Tested-by: Jenkins Server
Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'src/import/tools/build')
-rw-r--r-- | src/import/tools/build/common.dir/script.rules.mk | 7 |
1 files changed, 5 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 e7b915cef..81df4afe8 100644 --- a/src/import/tools/build/common.dir/script.rules.mk +++ b/src/import/tools/build/common.dir/script.rules.mk @@ -33,7 +33,10 @@ # * $(GENERATED)_PATH - Optional path to put output into. # * $(GENERATED)_COMMAND_PATH - Path to tool, assumed to be the current # directory of the .mk file if not given. -BUILD_GENERATED = $(eval $(call __BUILD_GENERATED)) +# 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: # * Define _PATH and _COMMAND_PATH if they do not exist. @@ -64,7 +67,7 @@ $(call __CLEAN_TARGET,$$($(GENERATED)_PATH)/.$(GENERATED).built) $(foreach target,$(TARGETS),\ $(call __CLEAN_TARGET,$$($(GENERATED)_PATH)/$(target))) -GEN_TARGETS += $$($(GENERATED)_PATH)/.$(GENERATED).built +$(or $1,GEN)_TARGETS += $$($(GENERATED)_PATH)/.$(GENERATED).built GENERATED:= COMMAND:= |