[Buildroot] [PATCH v7 5/9] core: sanitize RPATH in host tree at the very end of the build
Wolfgang Grandegger
wg at grandegger.com
Wed Jul 5 16:53:10 UTC 2017
We introduce the "finalize-host" target for that purpose.
Signed-off-by: Wolfgang Grandegger <wg at grandegger.com>
---
Makefile | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 1a826fc..2a265e0 100644
--- a/Makefile
+++ b/Makefile
@@ -553,7 +553,12 @@ $(BUILD_DIR)/buildroot-config/auto.conf: $(BR2_CONFIG)
prepare: $(BUILD_DIR)/buildroot-config/auto.conf
.PHONY: world
-world: target-post-image
+world: target-post-image host-finalize
+
+.PHONY: host-finalize
+host-finalize:
+ @$(call MESSAGE,"Rendering the SDK relocatable")
+ $(TOPDIR)/support/scripts/fix-rpath host
# When creating HOST_DIR, also symlink usr -> .
$(HOST_DIR):
--
2.7.4
More information about the buildroot
mailing list