[Buildroot] [PATCH v6 08/10] core: install relocation script and location at the end of the build
Wolfgang Grandegger
wg at grandegger.com
Tue Jul 4 16:22:37 UTC 2017
The script "relocate-sdk.sh" is installed into the top directory of
the SDK (HOST_DIR) and the SDK location path is stored in the file
"HOST_DIR/usr/share/buildroot/sdk-location"-
Signed-off-by: Wolfgang Grandegger <wg at grandegger.com>
---
Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Makefile b/Makefile
index f5646ad..7e92428 100644
--- a/Makefile
+++ b/Makefile
@@ -556,6 +556,8 @@ world: target-post-image host-finalize
host-finalize:
@$(call MESSAGE,"Rendering the SDK relocatable")
$(TOPDIR)/support/scripts/fix-rpath host
+ install $(TOPDIR)/support/misc/relocate-sdk.sh $(HOST_DIR)
+ echo $(HOST_DIR) > $(HOST_DIR)/usr/share/buildroot/sdk-location
# We need patchelf for RPATH sanitization
PACKAGES += host-patchelf
--
2.7.4
More information about the buildroot
mailing list