1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-05 11:20:39 +02:00
Commit Graph

69 Commits

Author SHA1 Message Date
florian
cfcc935fa2 [buildroot] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:02:29 +00:00
nbd
7f7b8b4dfb toolchain: enable gdb by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-28 14:32:11 +00:00
mirko
875ce0bf50 [toolchain/glibc*] purge support for glibc - use eglibc instead!
for reference: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg13425.html

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-28 22:24:12 +00:00
jow
091fd1b66b [toolchain] exclude CONFIG_GDB on avr32, allows enabling CONFIG_GDB unconditionally without failing avr32 builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-10 21:04:06 +00:00
jow
df5c1e6f54 [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
kaloz
83897b6f0f [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
kaloz
71d003d382 [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
nbd
b18846e4ca 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
acoul
c11c8f1d20 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
nbd
f9a6fe32c1 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
kaloz
c0b7eece82 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
kaloz
251a813933 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
juhosg
0ddbef1f62 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
kaloz
386183ac6e 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
nico
dce027fbea [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
nico
6a36104faa [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
nico
86dc5a4749 [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
nico
158bc02f79 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
870dc4520f 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
2b08ef5155 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
9cfe8533af [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
30106227fb 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
nico
9a319f4c47 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
76a152d235 [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
hcg
a9f8a6d577 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
nbd
3ce8595b78 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
nico
227402caee 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
nico
76559b7cb8 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
nico
c3c59f4189 [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
nbd
76c7f83e59 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
juhosg
546b5ed544 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
kaloz
fc35f54386 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
kaloz
f58867f71d 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
kaloz
18aeebfc58 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
kaloz
66a1f66691 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
kaloz
41696be697 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
jk
7e4be8edea [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
nbd
aa7be8c164 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
d14fa7ba1f 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
juhosg
d0e7f8edc5 [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
nbd
30808fcb93 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
kaloz
ff57652cf6 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
kaloz
d993d0d4b1 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
kaloz
6469ab20e1 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
kaloz
edc99d1bf0 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
042e469b6c 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
nbd
b0f539a440 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
6b70f7ae81 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
blogic
9b11307b07 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
nbd
1ce52e87fd 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