[Buildroot] [PATCH v3] Make external toolchain relocatable

Peter Korsgaard jacmet at uclibc.org
Tue Feb 5 14:16:29 UTC 2013

>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be> writes:

 Arnout> The external toolchain wrapper sets sysroot etc. to an absolute path.
 Arnout> By changing this to a relative path, it is possible to move the host
 Arnout> directory to a different location and still have a working build
 Arnout> system.

 Arnout> This only works for a downloaded external toolchain.  For a
 Arnout> pre-installed external toolchain, it is possible to move the
 Arnout> host directory to a different location, but not the external
 Arnout> toolchain directory (it does work if the external toolchain
 Arnout> directory lies within the host directory).  For an internal or
 Arnout> crosstool-ng toolchain, there is no wrapper so updating the
 Arnout> sysroot path should be done in a different way.

 Arnout> See
 Arnout> http://lists.busybox.net/pipermail/buildroot/2012-February/050371.html
 Arnout> for information about others things to do to make the host
 Arnout> directory relocatable.

Committed, thanks.

Bye, Peter Korsgaard

More information about the buildroot mailing list