Commit Graph

108 Commits

Author SHA1 Message Date
Florian Fainelli
9c59929e6e toolchain: do not build GDB when using an external toolchain
The external toolchain should provide it if needed.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36802
2013-05-30 22:04:54 +00:00
Felix Fietkau
97e7fdf6fd toolchain: get rid of libc implementation symbol overloading
SVN-Revision: 36360
2013-04-18 12:05:08 +00:00
Felix Fietkau
96bb7c123b build: consistently use 'depends on' instead of 'depends'
make the syntax more compatible with kernel menuconfig

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36351
2013-04-17 15:36:41 +00:00
Florian Fainelli
2f972664ec toolchain: musl is not available on MIPS64
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36206
2013-04-05 12:36:26 +00:00
Florian Fainelli
e032922266 toolchain: allow choosing the MIPS64 user-land ABI
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36205
2013-04-05 12:36:23 +00:00
Jo-Philipp Wich
9622f68581 buildroot: allow specifying libc personality for external toolchains
SVN-Revision: 35703
2013-02-20 15:06:10 +00:00
Florian Fainelli
6b63716262 add preliminary support for musl
Musl is an alternative C-library, see http://www.musl-libc.org for more infos.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34314
2012-11-23 20:02:29 +00:00
Felix Fietkau
f9f929613d toolchain: enable gdb by default
SVN-Revision: 32518
2012-06-28 14:32:11 +00:00
Mirko Vogt
334fd4199b purge support for glibc - use eglibc instead!
for reference: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg13425.html

SVN-Revision: 31503
2012-04-28 22:24:12 +00:00
Jo-Philipp Wich
4c2e50f287 exclude CONFIG_GDB on avr32, allows enabling CONFIG_GDB unconditionally without failing avr32 builds
SVN-Revision: 31249
2012-04-10 21:04:06 +00:00
Jo-Philipp Wich
e53afbbe64 introduce a USE_EXTERNAL_LIBC symbol which gets selected by EXTERNAL_TOOLCHAIN || NATIVE_TOOLCHAIN Currently we always assume uClibc if an external toolchain is used, this breaks for non-uClibc toolchains or even vanilla uClibc ones since they do not share the external librpc semantics as OpenWrt. Solve the problem by defining an abstract "EXTERNAL_LIBC" which packages might or might not depend on.
SVN-Revision: 29689
2012-01-08 15:34:23 +00:00
Imre Kaloz
ec33947689 fixup armeb, too
SVN-Revision: 26034
2011-03-11 11:35:31 +00:00
Imre Kaloz
d4afc36c84 simplify TARGET_SUFFIX selection
SVN-Revision: 26033
2011-03-11 11:33:03 +00:00
Felix Fietkau
2efb2ef8b1 toolchain: fix r26004
SVN-Revision: 26006
2011-03-10 13:37:30 +00:00
Alexandros C. Couloumbis
deafde5632 toolchain: fix r25969
SVN-Revision: 26004
2011-03-10 13:21:00 +00:00
Felix Fietkau
36bc85648b fix target name mixup caused by r25928
SVN-Revision: 25969
2011-03-09 11:37:50 +00:00
Imre Kaloz
b74308c433 only support EABI on ARM targets
SVN-Revision: 25928
2011-03-07 12:59:19 +00:00
Imre Kaloz
a3989e3dbd We use different toolchain directories for different ARM archs, so we should set the default arch of gcc to reflect this.
This enables EABI support for armv4 CPUs.

Signed-off-by: Jochen Friedrich <jochen@scram.de>

SVN-Revision: 25705
2011-02-25 16:52:25 +00:00
Gabor Juhos
72ba27ae72 cns21xx: add initial support for the Cavium CNS21xx SoC
SVN-Revision: 24859
2010-12-30 17:19:16 +00:00
Imre Kaloz
d4bf98f231 add plemininary ultrasparc support
SVN-Revision: 24558
2010-12-14 07:57:22 +00:00
Nicolas Thill
737b4b4bcb move EABI config option out of GCC
SVN-Revision: 17753
2009-09-26 21:34:40 +00:00
Nicolas Thill
c9bc7c504c add external toolchain support, enhance native toolchain support (special thanks to Luigi Mantellini for his help... and patience ;)
SVN-Revision: 17682
2009-09-23 02:27:38 +00:00
Nicolas Thill
47ac8caa62 add comments & fix descriptions in toolchain config items
SVN-Revision: 17561
2009-09-10 14:32:36 +00:00
Nicolas Thill
de9bb2b998 prepare for upcoming external toolchain support: move config items not strictly toolchain related out of the toolchain submenu
SVN-Revision: 17560
2009-09-10 14:04:41 +00:00
Geoff Levand
d719b51871 pxcab: Replace TARGET_pxcab with feature powerpc64
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>

SVN-Revision: 17307
2009-08-18 23:09:50 +00:00
Geoff Levand
7581681466 powerpc: Create a powerpc64 config feature
The config symbol TARGET_ps3 is used in the build files where
special handling for the 64 bit PowerPC processors is needed.
Introduce a new config feature powerpc64, and replace the use
of TARGET_ps3 with powerpc64.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>

SVN-Revision: 17306
2009-08-18 23:07:45 +00:00
Florian Fainelli
3eedb2a791 add the insight gdb frontend (#4701)
SVN-Revision: 17019
2009-07-26 17:55:50 +00:00
Florian Fainelli
2ec0cba393 This patch adds a target for the IBM PowerXCell Accelerator Board. (aka mvXCell-8i from MatrixVision or GigaAccel 180 from Fixstars)
http://us.fixstars.com/products/gigaaccel/

This build will create zImage suitable for TFTP boot image.

* v2
- add axonram device driver
- switch to 2.6.30.1

Signed-off-by: Akinobu Mita <mita@fixstars.com>

SVN-Revision: 16860
2009-07-16 10:19:13 +00:00
Nicolas Thill
4702698c68 add a config option to select the binary stripping method to use (between none, strip & sstrip)
SVN-Revision: 16728
2009-07-07 02:34:58 +00:00
Florian Fainelli
18de35e660 enable software floating point emulation by default for mips and mipsel targets
SVN-Revision: 16604
2009-06-28 15:49:46 +00:00
Hamish Guthrie
9f456db3fd Added defaults for extra target architecture for ps3
SVN-Revision: 14897
2009-03-16 15:25:55 +00:00
Felix Fietkau
72faa09dff move cflags default setting to target makefiles
SVN-Revision: 14866
2009-03-14 03:17:06 +00:00
Nicolas Thill
c3f18bd112 use different optimizations for x86 & x86_64 on uml
SVN-Revision: 13984
2009-01-11 17:31:43 +00:00
Nicolas Thill
a455323221 fix wrong TARGET_SUFFIX when building a toolchain with uClibc & EABI (closes: #4437)
SVN-Revision: 13962
2009-01-10 19:50:43 +00:00
Nicolas Thill
a3edea1b91 add support for alternative C libraries (currently only glibc/eglibc) other (related) changes: - kernel headers are now installed using "make headers_install" on 2.6 - target names now contain an openwrt "vendor" tag (e.g. mips-openwrt-linux-gnu) - build directory names now contain gcc/libc name/version - default cpu for x86 is now i486 (required to build glibc/eglibc)
SVN-Revision: 13931
2009-01-08 01:49:11 +00:00
Felix Fietkau
0f61e46c1a storm is ARMv4, not ARMv4T (thx, SeG)
SVN-Revision: 12046
2008-07-31 16:51:43 +00:00
Gabor Juhos
f529a37420 surprise :p
SVN-Revision: 11894
2008-07-21 17:08:14 +00:00
Imre Kaloz
7bb65fb9d7 add preliminary Marvell Orion support
SVN-Revision: 11352
2008-06-04 13:51:17 +00:00
Imre Kaloz
3ab62e8a82 soft-float shouldn't be used on targets with FPU
SVN-Revision: 11338
2008-06-03 09:31:00 +00:00
Imre Kaloz
a4dd1adf4a add preliminary support for Storm SL3512 based devices, not ready yet
SVN-Revision: 10956
2008-04-27 17:03:01 +00:00
Imre Kaloz
a5510c6b5b PXA has Xscale core as well, so optimize the same way as we do on IXP/IOP
SVN-Revision: 10948
2008-04-26 10:12:08 +00:00
Imre Kaloz
41cf84f819 do target dependent optimizations
SVN-Revision: 10834
2008-04-14 13:24:30 +00:00
Jeremy Kerr
077d84f543 provide a cleaner way to specify a biarch toolchain build
Currently, to build a biarch toolchain, we need to explicitly give
options to the binutils and gcc configure commands:

CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS="--enable-targets=powerpc64-linux-uclibc"
CONFIG_EXTRA_GCC_CONFIG_OPTIONS="--enable-biarch --enable-targets=powerpc64-linux-uclibc"

This change replaces the command line options with an 'extra arch'
configure option:

CONFIG_EXTRA_TARGET_ARCH=y
CONFIG_EXTRA_TARGET_ARCH_NAME="powerpc64"

And a way to invoke this extra arch on the compiler command-line:

CONFIG_EXTRA_TARGET_ARCH_OPTS="-m64"

In this case, this results in an extra compiler:
 'powerpc64-linux-uclibc-gcc', which invokes
 'powerpc-linux-uclibc-gcc -m64'

This is a more standard way of building biarch toolchains, and allows
the packages to not have to care about how to invoke the 64-bit
compiler.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

SVN-Revision: 10802
2008-04-12 23:14:42 +00:00
Felix Fietkau
82572cf767 revert ARM to oabi by default, add some eabi patches for fixing up the toolchain, which unfortunately break eabi userland, but are IMHO a necessary basis for further eabi fixes
SVN-Revision: 10458
2008-02-14 14:31:31 +00:00
Ralph Hempel
3dfc679bb9 add uClibc version 0.9.28.2, 0.9.28.3 and snapshots for development purpose (and already deployed evaluation boards) the version 0.9.29 is still the default version
SVN-Revision: 10282
2008-01-27 17:59:20 +00:00
Gabor Juhos
6f60b7afcd uClibc: restore support of shadow passwords, but make it configurable
SVN-Revision: 10276
2008-01-26 20:07:47 +00:00
Felix Fietkau
1c7b826708 unconditionally enable c99 math support in uclibc - many packages need it
SVN-Revision: 10024
2007-12-29 18:07:56 +00:00
Imre Kaloz
91c42459f5 use softfloat and GNU EABI on the IOP, too
SVN-Revision: 10015
2007-12-28 20:22:06 +00:00
Imre Kaloz
9aa6d18e2d move ARM to the GNU EABI
SVN-Revision: 10013
2007-12-28 20:13:15 +00:00
Imre Kaloz
5f93ab0b06 use soft float by default on arm and powerpc
SVN-Revision: 10011
2007-12-28 20:03:00 +00:00
Imre Kaloz
32a37816c3 softfloat should be available on armeb, but not on mips until the kernel fpu emulation can be disabled
SVN-Revision: 9930
2007-12-26 19:36:34 +00:00
Florian Fainelli
da7afd8577 Update CFLAGS pickup to match the target variable name, allow i686 to be optimised
SVN-Revision: 9451
2007-10-26 16:19:59 +00:00
Felix Fietkau
c844236c36 fix cflags for xscale (#2026)
SVN-Revision: 7910
2007-07-11 05:18:19 +00:00
Florian Fainelli
a10de632d1 Use -Os for rdc and -O2 for the x86 target
SVN-Revision: 7831
2007-07-01 17:53:28 +00:00
John Crispin
e19eb3d828 add initial support for the crisarchitecture used on foxboards to openwrt
SVN-Revision: 7439
2007-06-02 00:46:02 +00:00
Felix Fietkau
953c120550 switch to -O2 on x86 for performance reasons
SVN-Revision: 5694
2006-12-05 22:54:26 +00:00
Tim Yardley
3e84e18a27 add a configuration option to enable full c99 math in libm. this is needed for functions like floorf (which happens to be used in postgresql server as an example)
SVN-Revision: 5302
2006-10-26 17:16:13 +00:00
Felix Fietkau
60c1f0f64d finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00