Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Can't use output/host/ as "SDK" with external toolchain
@ 2012-01-09 22:54 Bryce Schober
  2012-01-10 11:26 ` Thomas De Schampheleire
  2012-01-12  9:17 ` Thomas Petazzoni
  0 siblings, 2 replies; 8+ messages in thread
From: Bryce Schober @ 2012-01-09 22:54 UTC (permalink / raw)
  To: buildroot

What I mean by "SDK" is the ability to compile external programs using the
buildroot toolchain and libraries on any reasonably-compatible host. I'm
assuming that the toolchain itself is built properly static for its own
host independence (which in my case, it is). Ideally the toolchain in the
output/host directory would be capable of standing alone, when built
properly

I'm having two issues w/ archving the output/host dir for extraction and
usage in a different host directory. I'm using a custom-built crosstool-ng
built externally and independent of buildroot.

The external toolchain import results in three distinct problems that I can
see:
1. The symbolic links for binutils binaries in use absolute paths to link
to the external toolchain instead of copying them in.
2. The ext-toolchain-wrapper uses an absolute path for the sysroot
directory.
3. The ext-toolchain-wrapper seems to point to the old (import-from) bin
directory, not the path to which the toolchain has been copied.

I'm not particularly familiar with the relocatability of toolchains or
buildroot's method thereof, and so am not sure where to start with a
proposal, let alone a patch. If I could get some direction as to how best
to tackle this, I'd be grateful.

--
Bryce Schober
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120109/c3ac3fdc/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-01-12  9:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-09 22:54 [Buildroot] Can't use output/host/ as "SDK" with external toolchain Bryce Schober
2012-01-10 11:26 ` Thomas De Schampheleire
2012-01-10 20:22   ` Bryce Schober
2012-01-11  7:38     ` Thomas De Schampheleire
2012-01-11 14:19       ` Michael S. Zick
2012-01-11 19:49       ` Bryce Schober
2012-01-11 23:03         ` Peter Korsgaard
2012-01-12  9:17 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox