[Buildroot] [RFC PATCH v5 08/11] core: install relocation script and location at the end of the build
Wolfgang Grandegger
wg at grandegger.com
Fri Jun 30 08:37:05 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 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Makefile b/Makefile
index f5ea6a8..a5dfdfd 100644
--- a/Makefile
+++ b/Makefile
@@ -553,6 +553,9 @@ prepare: $(BUILD_DIR)/buildroot-config/auto.conf
.PHONY: world
world: target-post-image
+ @$(call MESSAGE,"Rendering the SDK relocatable")
+ install $(TOPDIR)/support/misc/relocate-sdk.sh $(HOST_DIR) && \
+ echo $(HOST_DIR) > $(HOST_DIR)/usr/share/buildroot/sdk-location
# Populating the staging with the base directories is handled by the skeleton package
$(STAGING_DIR):
--
2.7.4
More information about the buildroot
mailing list