[Buildroot] [PATCH] toolchain: bfin: Add 2013R1 Blackfin toolchain option

Peter Korsgaard jacmet at uclibc.org
Mon Mar 17 21:17:22 UTC 2014


>>>>> "sonic" == sonic adi <sonic.adi at gmail.com> writes:

 > From: Sonic Zhang <sonic.zhang at analog.com>
 > Signed-off-by: Sonic Zhang <sonic.zhang at analog.com>
 > ---
 >  toolchain/toolchain-external/Config.in             |   19 +++++++++++++++++++
 >  toolchain/toolchain-external/toolchain-external.mk |    6 +++++-
 >  2 files changed, 24 insertions(+), 1 deletion(-)

 > diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
 > index 0607693..0600aeb 100644
 > --- a/toolchain/toolchain-external/Config.in
 > +++ b/toolchain/toolchain-external/Config.in
 > @@ -665,6 +665,23 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
 >  	  Other architecture variants (beyond Pentium-4/Xeon) are
 >  	  supported as well, but glibc is not optimised for it.
 
 > +config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1
 > +	bool "Blackfin.uclinux.org 2013R1-RC1"
 > +	depends on BR2_bfin
 > +	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
 > +	select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
 > +	select BR2_INSTALL_LIBSTDCPP
 > +	select BR2_LARGEFILE
 > +	select BR2_INET_IPV6
 > +	select BR2_TOOLCHAIN_HAS_NATIVE_RPC
 > +	select BR2_USE_WCHAR
 > +	select BR2_TOOLCHAIN_HAS_THREADS
 > +	select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
 > +	select BR2_HOSTARCH_NEEDS_IA32_LIBS

You need to select the correct BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_x
matching your kernel version. With that said, this version sounds quite
similar to the one that got added by Thomas last year:

http://git.buildroot.net/buildroot/commit/?id=951fc4c63f3e14f160ae0d2e306b0a5f0e7b3f6d

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list