[Buildroot] [PATCH v3 2/2] buildroot: target: Add Blackfin architecture support.

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Mar 26 10:08:18 UTC 2013


Dear Sonic Zhang,

On Tue, 26 Mar 2013 17:36:24 +0800, Sonic Zhang wrote:

> > But the current external toolchain logic in
> > toolchain/toolchain-external/ext-tool.mk only extracts either the
> > bfin-uclinux sysroot *or* the bfin-linux-uclibc sysroot, so you in
> > practice don't have both at the same time, at least with the current
> > Buildroot. So presumably this would also need to be changed, right?
> 
> Yes, that's why the installation target copy library files from the
> original toolchain folder other than the sysroot.

That doesn't work: when bfin-linux-uclibc is used, then the
bfin-uclinux toolchain is *NOT* installed. Your current code makes the
assumption that this toolchain is installed system-wide, but that's not
what we want in a Buildroot context.

But ok, it's not an impossible problem: we can tune the external
toolchain logic so that it installs both sysroot when the user wants
both the FDPIC and FLAT stuff.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list