[Buildroot] Issue with toolchain wrapper changes

Peter Korsgaard peter at korsgaard.com
Wed Feb 17 11:04:30 UTC 2016


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

 > Hello Arnout,
 > I am facing some issues with the toolchain wrapper, which I believe
 > were introduced by the changes done to use the toolchain wrapper also
 > for the internal toolchain backend.

 > As you know, Buildroot installs all its host stuff in $(HOST_DIR)/usr,
 > and not directly under $(HOST_DIR). For the autobuilders, I build a
 > number of toolchains with Buildroot, which are then used as pre-built
 > external toolchains by the autobuilders. In order for those toolchains
 > to look like conventional toolchains, at the end of their build, I do:

 > 	mv /path/to/host/usr/* /path/to/host/
 > 	rmdir /path/to/host/usr/

 > Which moves everything outside of the usr/ subdirectory, and removes
 > the usr/ subdirectory itself. This used to work perfectly fine, but
 > now, it fails to find the .br_real equivalent of the command being
 > executed. Example:

Is the extra /usr really such a problem? I've built a bunch of
toolchains, and just refer to them as /opt/br/<whatever>/usr.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list