aboutsummaryrefslogtreecommitdiff
path: root/ta
diff options
context:
space:
mode:
authorJerome Forissier <jerome.forissier@linaro.org>2018-05-30 13:55:21 +0200
committerJérôme Forissier <jerome.forissier@linaro.org>2018-05-31 13:52:47 +0200
commit7adc6862ee133381fe23385f47a5ac44e708348e (patch)
tree72f7312124851c1160285638acc93df618f1394f /ta
parente9bfdf2cfc5742c679692cf8e4dcfe1f1eb16059 (diff)
TA dev kit: shared library: strip directory part
The symbolic link and its target are in the same directory, so we need to make sure that there is no relative path before the target filename. The proper Make variable to use is therefore not $< but $(<F). Fixes: 01b8b5ce011d ("TA dev kit: when building a shared library, create symlink with UUID") Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'ta')
-rw-r--r--ta/arch/arm/link_shlib.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/ta/arch/arm/link_shlib.mk b/ta/arch/arm/link_shlib.mk
index a791ba60..a838c954 100644
--- a/ta/arch/arm/link_shlib.mk
+++ b/ta/arch/arm/link_shlib.mk
@@ -38,7 +38,7 @@ $(link-out-dir)/$(shlibname).stripped.so: $(link-out-dir)/$(shlibname).so
$(link-out-dir)/$(shlibuuid).elf: $(link-out-dir)/$(shlibname).so
@$(cmd-echo-silent) ' LN $@'
- $(q)ln -sf $< $@
+ $(q)ln -sf $(<F) $@
$(link-out-dir)/$(shlibuuid).ta: $(link-out-dir)/$(shlibname).stripped.so \
$(TA_SIGN_KEY)