[Buildroot] [Bug 851] Add option to specify --sysroot value for external toolchain

bugzilla at busybox.net bugzilla at busybox.net
Sun Apr 4 19:02:36 UTC 2010


https://bugs.busybox.net/show_bug.cgi?id=851





--- Comment #6 from Grant Edwards <grant.b.edwards at gmail.com>  2010-04-04 19:02:35 UTC ---

It looks like that commit addresses the same problem except that it's
unconditional.  I made my change configurable because I assumed there
was a reason why it was the way it was and that somebody was depending
on the extant behavior. Though I couldn't figure out exactly how that
behavior would be desirable, it looked like somebody went to extra
effort to extract the "as built" sysroot rather than use the path that
was already known for the current location of the toolchain.

I must admit I'm a bit confused by the effort the committed patch goes
to to figure out the value to use for sysroot.  Isn't it always going
to be "$(BR2_TOOLCHAIN_EXTERNAL_PATH)/.."?  Or does crosstool-ng
structure the toolchain install directory tree differently than does
buildroot?

Trying out that commit will require changes to my build script, so I can't
do it right now.  I'll give it go it when I have some spare time.


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the buildroot mailing list