From 3c58e3f7c43dd5609a5f16a2ff264b06a403b575 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Thu, 24 Oct 2019 22:22:09 +0200 Subject: [PATCH] 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 --- package/lld/lld.mk | 1 + 1 file changed, 1 insertion(+) 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