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

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


Dear Sonic Zhang,

On Tue, 26 Mar 2013 16:16:07 +0800, Sonic Zhang wrote:

> > If you need to have different prefixes, isn't it possible to hook into one
> > of these variables, instead of creating a new variable
> > CROSS_COMPILE_SHARED_ELF/FLAT ?
> > Depending on the elf/flat choice, you would then for example set
> > BR2_TOOLCHAIN_EXTERNAL_PREFIX (possible from kconfig directly) (but this
> > would work only for external toolchains), or override TARGET_CROSS.
> > With such a change, you can reuse TARGET_CC and TARGET_READELF.
> 
> I do set BR2_TOOLCHAIN_EXTERNAL_PREFIX to bfin-uclinux via kconfig to
> build the complete packages in buildroot. Meanwhile, I would like to
> install FDPIC libraries as well from the bfin-linux-uclibc toolchain
> folder, which is different from the bfin-uclinux I set to
> BR2_TOOLCHAIN_EXTERNAL_PREFIX.
> 
> Blackfin toolchain bfin-linux-uclibc and bfin-uclinux are located in
> different path.

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?

Thanks,

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