Commit Graph

46 Commits

Author SHA1 Message Date
Chris Zankel
75720db391 xtensa: add support for the Xtensa architecture
The Xtensa architecture had been removed because it required special
handling and depended on additional directories and files that became
obsolete over time. This change is more aligned to other architectures.

[Thomas: rebased on top of the "arch: improve definition of gcc mtune,
mcpu, etc." patch].

Signed-off-by: Chris Zankel <chris@zankel.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-15 16:39:43 +01:00
Thomas Petazzoni
d27e09a71a toolchain: make external toolchain the default for AArch64
Our internal toolchain backend does not yet have support for AArch64,
and Crosstool-NG also does not have support for AArch64 at the moment
(though it should be coming quickly since the Linaro AArch64 toolchain
is generated with a modified Crosstool-NG version).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-02 21:07:03 +01:00
Peter Korsgaard
4a7462b34d toolchain: disallow internal/ctng toolchains for microblaze
While there's some microblaze support in mainline gcc from 4.6.x,
there still seems to be something missing with the uClibc support, so
disable these for now.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-19 00:26:01 +01:00
Peter Korsgaard
5931db0de9 gdb: fix kconfig dependency handling with !BR_TOOLCHAIN_BUILDROOT
Newer versions of GDB need pthread debugging support if threads are
enabled, which is always the case for glibc but is a configure option
for uClibc.

We have solved this for internal toolchains by selecting the
BR2_PTHREAD_DEBUG option from the GDB selection if needed, but as this
option isn't available when ctng/external toolchains are used, mconf
prints ugly warnings and the build may fail if an external uClibc
toolchain without pthread debugging support is used.

Fix it by introducing 2 more hidden config options:
 - BR2_TOOLCHAIN_HAS_THREADS_DEBUG
 - BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED

The first tells us if the toolchain HAS pthreads debugging support,
and is checked by check_uclibc_feature in helper.mk for external uClibc
based toolchains.

The second tells us if the toolchain is ABLE TO provide pthreads debugging
support if threads are enabled, either because it's an internal toolchain
where we can force enable it or an external glibc/eglibc toolchain or
uClibc with the option enabled.

Crosstool-ng forcibly enables this support, so those will always work.
The preconfigured uClibc-based toolchains we have also all enable it.

Finally, show a comment if this isn't the case so the (external toolchain)
user knows why. This is placed outside the choice option, as menuconfig
has a bug where it doesn't show choice selections which only contain
comments.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-24 14:26:52 +01:00
Thomas Petazzoni
b9882925a4 toolchain: introduce BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
Unfortunately, the official Blackfin toolchains are built without the
shadow password support, so our default Busybox configuration fails to
build.

Therefore, we introduce a new hidden knob
BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS, which is set to yes for Buildroot
internal toolchain, for toolchains generated by the Crosstool-NG
backend, for Glibc external toolchains and for Uclibc custom external
toolchains. It is left unset by the Blackfin toolchain profile.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-12 21:50:20 +02:00
Thomas Petazzoni
6c492d5e7b toolchain: add support for external toolchain profiles and download
Instead of letting the user define all the details of his external
toolchain, we define a set of profiles for well-known external
toolchains (CodeSourcery ones only at the moment, can easily be
extended with other toolchains).

Once a profile has been choosen, the user is offered the choice of
either letting Buildroot download and install the external toolchain,
or (as before) to tell Buildroot where the toolchain is installed on
the system.

We of course provide a "custom profile", through which the user can
configure Buildroot to use a custom external toolchain for which no
profile is available.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-13 21:56:49 +01:00
Yann E. MORIN
10c1eec2c3 toolchain: add new toolchain backend: crosstool-NG
[Peter: indent Config.in, shuffle make targets around]
Signed-off-by: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-10-01 16:40:40 +02:00
Yann E. MORIN
2508b16d66 toolchain: move buildroot config files
Handle the internal toolchain backend mechanism the
same way we handle other backends.

Signed-off-by: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-28 16:20:08 +02:00
Yann E. MORIN
f78ea9fcf0 toolchain: rename external toolchain dir
Rename the external toolchain directory.
When new backends are here, it will be easier to sort them out
if they are all prefixed the same way.

Signed-off-by: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-28 16:20:03 +02:00
Peter Korsgaard
ecc81fed2f toolchain: get rid of "binary" for external toolchain
We no longer have an option for external source based toolchains,
so get rid of "binary".

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-08 11:01:04 +01:00
Thomas Petazzoni
65e99014ce Remove external source toolchain options
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:47 +01:00
Peter Korsgaard
16a5a68947 toolchain: revert r25193 (Change binary toolchain configuration)
As discussed on the list.
2009-02-04 13:42:40 +00:00
Ulf Samuelsson
59f084017e Change binary toolchain configuration, so
that the options become visible just below
the config, instead of at bottom of screen

Create a more useful default as toolchain path.

Allow generation of a script which sets up
paths to a binary toolchain generated by buildroot.
2009-01-31 20:49:59 +00:00
Peter Korsgaard
3db839986d toolchain: revert "Allow creating a script for external use of Buildroot toolchain"
It's been 10 days now without any reply from Ulf, so revert r24480+r24481.
2009-01-02 20:31:01 +00:00
Ulf Samuelsson
85c7bde99e Allow creating a script for external use of Buildroot toolchain 2008-12-21 17:11:33 +00:00
Peter Korsgaard
e2e4950b2d toolchain: use same gdb Config.in for internal/external toolchains
We used to use different gdb configs for internal and external toolchains
because mconf won't source the same file twice. This works, but is kind of
sub optimal, as people forget to keep them in sync.

Fix it to use the same file for both situations by shuffling around the
config options a bit. Should work identical to before (except for the newer
gdb versions available for ext).
2008-12-15 15:28:48 +00:00
Peter Korsgaard
02a623ddf9 buildroot: remove trailing spaces
for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`;
do
	sed -i 's/ \+$//' $i;
done
2008-08-04 19:07:05 +00:00
Ulf Samuelsson
979d4576de Remove duplication of AVR32 toolchain 2008-03-29 11:04:30 +00:00
John Voltz
1d161fb437 toolchain updates 2008-03-06 18:52:01 +00:00
Bernhard Reutner-Fischer
bb9e6a7d9e - naming convention is Config.in resp. Config.in.foo
Adjust some accordingly
2007-09-28 21:54:36 +00:00
Bernhard Reutner-Fischer
4b0d5a80f8 - revert some bad checkins, fixup bad settings in atmel targets and move the gcc target abi back to a place where the other arch-specific settings live 2007-09-26 21:12:38 +00:00
Ulf Samuelsson
01426334b4 reinstate AVR32 toolchain 2007-09-26 05:36:11 +00:00
Bernhard Reutner-Fischer
7bc7c8eb4d - add more help text 2007-09-25 22:03:18 +00:00
Bernhard Reutner-Fischer
af024720ab - fix copy'n paste error 2007-09-25 21:49:37 +00:00
Bernhard Reutner-Fischer
d8fc1c0a74 - remove one invariant in toolchain type selection. 2007-09-25 08:18:36 +00:00
Bernhard Reutner-Fischer
adf28e194c - move project settings from toolchain to device 2007-09-22 14:34:40 +00:00
Bernhard Reutner-Fischer
51a61c9011 - Subsume and collaps toolchain options in one menu
This is ment to ease configuration by providing toolchain related options in one place
  No functional changes, just shuffling the menus around..
2007-09-22 14:16:25 +00:00
Bernhard Reutner-Fischer
fb9d19603c - fixup whitespace damage after ulf 2007-08-21 19:33:00 +00:00
Ulf Samuelsson
840325e170 Add support for prepatched toolchains 2007-07-31 14:59:58 +00:00
"Steven J. Hill"
87f5a311d7 Get rid of leading whitespace to silence warnings from config system. 2007-07-06 11:42:03 +00:00
"Steven J. Hill"
02f71aab47 Support building using an external toolchain. Questions to the mailing list and all other comments to <biteme@devnull.com>. 2007-02-06 18:19:38 +00:00
Bernhard Reutner-Fischer
6cc2db583b - reformat help text to fit default width better 2007-01-24 14:50:21 +00:00
Bernhard Reutner-Fischer
ec150063ed - remove old reminder that is already dealt with. 2007-01-21 11:34:14 +00:00
Eric Andersen
9ab4e56e94 Add support for mklibs (strips unused syms from shared libs such as uClibc)
based on a patch from akvadrako, and using a version of mklibs.py that was
massively hacked up by andersee and mjn3 for uClibc support.
2006-08-02 21:19:09 +00:00
Mike Frysinger
feec22350f disable multilib by default 2006-02-20 08:43:45 +00:00
Mike Frysinger
04735b266d initial attempt at adding elf2flt support based upon marcs work in Bug 273 2006-01-10 05:56:59 +00:00
Mike Frysinger
9d3a6533b5 touchup descriptions 2005-08-09 22:19:04 +00:00
Manuel Novoa III
1172dbb8b1 Sigh... Let's try this again. 2005-08-04 05:44:48 +00:00
Manuel Novoa III
42c9321a15 Add BR2_CROSS_TOOLCHAIN_TARGET_UTILS to allow bundling of some useful debug
apps with a deployed cross toolchain.  Should probably do ltrace as well...
Also, add another compat symlink for cross gdb.
2005-08-04 03:49:25 +00:00
Manuel Novoa III
c0a49140ad Add sstrip for host and/or target. 2005-08-03 01:20:34 +00:00
Manuel Novoa III
7b67264adf Someone forgot mipsel for soft float... 2005-04-30 22:02:38 +00:00
Eric Andersen
675837a507 Patch from acmay: http://bugs.uclibc.org/view.php?id=47
0000047: ARM BigEndian does not allow Soft Float

When ARMEB is selected for the arch I am unable to select soft float support.

The toolchain/Config.in does not have a depend for armeb, it just has arm.

The attached patch should cover it.
2005-01-23 11:18:02 +00:00
Eric Andersen
581bc450f5 Fixup SOFT_FLOAT handling 2004-10-09 21:28:56 +00:00
Mike Frysinger
d47905628e allow people to enter target optimizations 2004-10-09 18:08:15 +00:00
Eric Andersen
0134e28071 Add some seperators 2004-10-09 05:33:05 +00:00
Eric Andersen
2d523c2317 Major buildroot facelift, step one.
-Erik
2004-10-09 01:06:03 +00:00