[Buildroot] [RFC PATCH 6/9] core: create relocate-toolchain.sh in HOST_DIR/usr at the end of the build

Wolfgang Grandegger wg at grandegger.com
Fri Mar 3 14:18:50 UTC 2017


Signed-off-by: Wolfgang Grandegger <wg at grandegger.com>
---
 Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Makefile b/Makefile
index a68c9ce..afa7516 100644
--- a/Makefile
+++ b/Makefile
@@ -553,9 +553,14 @@ define SANITIZE_RPATH_HOST
 	$(TOPDIR)/support/scripts/fix-rpath host $(HOST_DIR)
 endef
 
+define CREATE_RELOCATION_SCRIPT
+	$(TOPDIR)/support/scripts/create-relocation-script $(HOST_DIR)
+endef
+
 world: target-post-image
 	@$(call MESSAGE,"Rendering the SDK relocatable")
 	$(SANITIZE_RPATH_HOST)
+	$(CREATE_RELOCATION_SCRIPT)
 
 .PHONY: all world toolchain dirs clean distclean source outputmakefile \
 	legal-info legal-info-prepare legal-info-clean printvars help \
-- 
1.9.1




More information about the buildroot mailing list