summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Randhawa <robin.randhawa@arm.com>2021-07-12 10:48:21 +0100
committerRobin Randhawa <robin.randhawa@arm.com>2021-07-12 10:48:21 +0100
commit4866438e10565bd7137d55bfc2b9717f98cf7c5f (patch)
tree02b3007889dd56cf5b1a32288aabf7363aefc121
parentf007b05cd248537f75d732f78d0ba190284e870f (diff)
prefix: Hack around the rust-install rule's inability to generate libstdfix-missing-libs-for-host-target
etc for HOST_TARGET This may not be the right solution but it works for the moment. Credit to a4ldo2 for the tip.
-rw-r--r--mk/prefix.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/prefix.mk b/mk/prefix.mk
index a2986aa..adffe25 100644
--- a/mk/prefix.mk
+++ b/mk/prefix.mk
@@ -20,7 +20,7 @@ $(PREFIX)/relibc-install: $(ROOT)/relibc | $(PREFIX)/rust-install
cp -r "$(PREFIX)/rust-install" "$@.partial"
rm -rf "$@.partial/$(TARGET)/include/"*
cp -r "$(PREFIX)/rust-install/$(TARGET)/include/c++" "$@.partial/$(TARGET)/include/c++"
- cp -r "$(PREFIX)/rust-install/lib/rustlib/$(HOST_TARGET)/lib/" "$@.partial/lib/rustlib/$(HOST_TARGET)/"
+ cp -r "$(PREFIX)/rust-freestanding-install/lib/rustlib/$(HOST_TARGET)/lib/" "$@.partial/lib/rustlib/$(HOST_TARGET)/"
rm -rf $@.partial/lib/rustlib/src
mkdir $@.partial/lib/rustlib/src
ln -s $(ROOT)/rust $@.partial/lib/rustlib/src