All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] package/lld: create $(HOST_DIR)/$(GNU_TARGET_NAME)/bin before create symlinks
@ 2019-10-24 20:22 Romain Naour
  2019-10-24 20:22 ` [Buildroot] [PATCH 2/3] package/lld: bump to version 9.0.0 Romain Naour
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Romain Naour @ 2019-10-24 20:22 UTC (permalink / raw)
  To: buildroot

$(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>
---
 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
-- 
2.21.0

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-11-20 16:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-24 20:22 [Buildroot] [PATCH 1/3] package/lld: create $(HOST_DIR)/$(GNU_TARGET_NAME)/bin before create symlinks Romain Naour
2019-10-24 20:22 ` [Buildroot] [PATCH 2/3] package/lld: bump to version 9.0.0 Romain Naour
2019-10-24 20:22 ` [Buildroot] [PATCH 3/3] package/{llvm, clang, lld}: update comment to keep them at the same version Romain Naour
2019-10-24 23:01 ` [Buildroot] [PATCH 1/3] package/lld: create $(HOST_DIR)/$(GNU_TARGET_NAME)/bin before create symlinks Joseph Kogut
2019-10-25  8:29 ` Peter Korsgaard
2019-11-20 16:57 ` Thomas Preston

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.