From: Romain Naour Date: Thu, 24 Oct 2019 20:22:09 +0000 (+0200) Subject: package/lld: create $(HOST_DIR)/$(GNU_TARGET_NAME)/bin before create symlinks X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3c58e3f7c43dd5609a5f16a2ff264b06a403b575;p=buildroot.git package/lld: create $(HOST_DIR)/$(GNU_TARGET_NAME)/bin before create symlinks $(HOST_DIR)/$(GNU_TARGET_NAME)/bin directory may not exist before creating lld symlinks. Signed-off-by: Romain Naour Cc: Joseph Kogut Tested-By: Joseph Kogut Signed-off-by: Peter Korsgaard --- diff --git a/package/lld/lld.mk b/package/lld/lld.mk index a6933e2961..bda5a56ab5 100644 --- a/package/lld/lld.mk +++ b/package/lld/lld.mk @@ -14,6 +14,7 @@ HOST_LLD_DEPENDENCIES = host-llvm # GCC looks for tools in a different path from LLD's default installation path define HOST_LLD_CREATE_SYMLINKS + mkdir -p $(HOST_DIR)/$(GNU_TARGET_NAME)/bin ln -sf $(HOST_DIR)/bin/lld $(HOST_DIR)/$(GNU_TARGET_NAME)/bin/lld ln -sf $(HOST_DIR)/bin/lld $(HOST_DIR)/$(GNU_TARGET_NAME)/bin/ld.lld endef