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 <romain.naour@smile.fr> Cc: Joseph Kogut <joseph.kogut@gmail.com> Tested-By: Joseph Kogut <joseph.kogut@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
257efc7405
commit
3c58e3f7c4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user