eclair/build-tfa.sh: MAKE_TARGET: Use '$(PWD)' as a subst for build's pwd
Useful to make a particular file, e.g.
"$(PWD)/build/fvp/release/bl1/event_log.o"
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: Iaed9b7255a37e3af6e2521a7774b742d120e7a34
diff --git a/eclair/build-tfa.sh b/eclair/build-tfa.sh
index 29732c6..88c9dd1 100755
--- a/eclair/build-tfa.sh
+++ b/eclair/build-tfa.sh
@@ -11,4 +11,8 @@
cd ${WORKSPACE}/trusted-firmware-a
make clean
+
+# Replace '$(PWD)' with the *current* $PWD.
+MAKE_TARGET=$(echo "${MAKE_TARGET}" | sed "s|\$(PWD)|$PWD|")
+
make ${MAKE_TARGET} -j3 $(cat ${WORKSPACE}/tf-a-ci-scripts/tf_config/$1)