Commit Graph

65 Commits (2c60c67c19b8d53eeb2fe4f6c1129d2238ed35a2)

Author SHA1 Message Date
Jo-Philipp Wich 949f74899c [toolchain] 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-08 15:34:23 +00:00
Imre Kaloz 1285a06923 [toolchain]: fixup armeb, too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-11 11:35:31 +00:00
Imre Kaloz 6e26fed85f [toolchain]: simplify TARGET_SUFFIX selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-11 11:33:03 +00:00
Felix Fietkau 1e298cab6f toolchain: fix r26004
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-10 13:37:30 +00:00
Alexandros C. Couloumbis 71afee3f5e toolchain: fix r25969
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-10 13:21:00 +00:00
Felix Fietkau e442f21024 fix target name mixup caused by r25928
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-09 11:37:50 +00:00
Imre Kaloz c5b1e5ded2 only support EABI on ARM targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 12:59:19 +00:00
Imre Kaloz 7dd2d2cbd3 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>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-25 16:52:25 +00:00
Gabor Juhos 0d46434b60 cns21xx: add initial support for the Cavium CNS21xx SoC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-30 17:19:16 +00:00
Imre Kaloz dcaba4757f add plemininary ultrasparc support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 07:57:22 +00:00
Nicolas Thill 9d8805d1d7 [toolchain] move EABI config option out of GCC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-26 21:34:40 +00:00
Nicolas Thill f9f42992ea [toolchain] add external toolchain support, enhance native toolchain support (special thanks to Luigi Mantellini for his help... and patience ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-23 02:27:38 +00:00
Nicolas Thill 5a42b0b766 [cosmetic] add comments & fix descriptions in toolchain config items
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-10 14:32:36 +00:00
Nicolas Thill 5f8db51430 prepare for upcoming external toolchain support: move config items not strictly toolchain related out of the toolchain submenu
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-10 14:04:41 +00:00
Geoff Levand 1884df4f4b pxcab: Replace TARGET_pxcab with feature powerpc64
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-18 23:09:50 +00:00
Geoff Levand 0963266b1d 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-18 23:07:45 +00:00
Florian Fainelli 50cc5085d4 [toolchain] add the insight gdb frontend (#4701)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-26 17:55:50 +00:00
Florian Fainelli f49a6c5859 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-16 10:19:13 +00:00
Nicolas Thill c5548f922e add a config option to select the binary stripping method to use (between none, strip & sstrip)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-07 02:34:58 +00:00
Florian Fainelli d3d0281630 [toolchain] enable software floating point emulation by default for mips and mipsel targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-28 15:49:46 +00:00
Hamish Guthrie 4c0720f35f Added defaults for extra target architecture for ps3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-16 15:25:55 +00:00
Felix Fietkau 019e6e2d31 move cflags default setting to target makefiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 03:17:06 +00:00
Nicolas Thill 6f6709687b use different optimizations for x86 & x86_64 on uml
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-11 17:31:43 +00:00
Nicolas Thill 878ec5154d fix wrong TARGET_SUFFIX when building a toolchain with uClibc & EABI (closes: #4437)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13962 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-10 19:50:43 +00:00
Nicolas Thill 3b75e47f8f [massive] 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)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-08 01:49:11 +00:00
Felix Fietkau 839c3365d0 storm is ARMv4, not ARMv4T (thx, SeG)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 16:51:43 +00:00
Gabor Juhos 7670811acd surprise :p
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-21 17:08:14 +00:00
Imre Kaloz 588d69a7c7 add preliminary Marvell Orion support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-04 13:51:17 +00:00
Imre Kaloz 240ffbd5cf soft-float shouldn't be used on targets with FPU
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-03 09:31:00 +00:00
Imre Kaloz 3166c564d9 add preliminary support for Storm SL3512 based devices, not ready yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-27 17:03:01 +00:00
Imre Kaloz f87edf704f PXA has Xscale core as well, so optimize the same way as we do on IXP/IOP
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-26 10:12:08 +00:00
Imre Kaloz a2f9064438 do target dependent optimizations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-14 13:24:30 +00:00
Jeremy Kerr e5eb114697 [toolchain] 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>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-12 23:14:42 +00:00
Felix Fietkau 03d5cedd44 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-14 14:31:31 +00:00
Ralph Hempel 6614ecc110 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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-27 17:59:20 +00:00
Gabor Juhos 5aa6590551 [toolchain] uClibc: restore support of shadow passwords, but make it configurable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-26 20:07:47 +00:00
Felix Fietkau 11db200b57 unconditionally enable c99 math support in uclibc - many packages need it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-29 18:07:56 +00:00
Imre Kaloz a63bc28b03 use softfloat and GNU EABI on the IOP, too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 20:22:06 +00:00
Imre Kaloz a9209c6d57 move ARM to the GNU EABI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 20:13:15 +00:00
Imre Kaloz 926ea6a65e use soft float by default on arm and powerpc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 20:03:00 +00:00
Imre Kaloz 4ac2960eb5 softfloat should be available on armeb, but not on mips until the kernel fpu emulation can be disabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-26 19:36:34 +00:00
Florian Fainelli 8e7ceac659 Update CFLAGS pickup to match the target variable name, allow i686 to be optimised
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-26 16:19:59 +00:00
Felix Fietkau 55be0ccf0e fix cflags for xscale (#2026)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-11 05:18:19 +00:00
Florian Fainelli 220855cb48 Use -Os for rdc and -O2 for the x86 target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-01 17:53:28 +00:00
John Crispin 5f63e4ddcc add initial support for the crisarchitecture used on foxboards to openwrt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-02 00:46:02 +00:00
Felix Fietkau a745eee3e2 switch to -O2 on x86 for performance reasons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-05 22:54:26 +00:00
Tim Yardley df8db85071 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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-26 17:16:13 +00:00
Felix Fietkau 4d15c89ed9 remove unused multilib option
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-09 18:17:53 +00:00
Felix Fietkau 245ac09762 remove -mcpu=405 for magicbox, because it enables soft-float, which makes binaries bigger and broken
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-05 12:21:07 +00:00
Felix Fietkau 21d65d6266 set -mcpu=405 in the default cflags for magicbox
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-30 10:49:26 +00:00