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

813 Commits

Author SHA1 Message Date
jow
bf04048249 [toolchain] invoke patch-specs.sh in the gcc/final install stage.
Patch up OpenWrts own cross toolchains to always search headers
and libraries in $STAGING_DIR, this should solve most issues with
missing headers, indirect linking and not found libraries.
At a later stage, all -I and -L flags will be purged from 
TARGET_LDFLAGS and TARGET_CPPFLAGS.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 03:15:22 +00:00
jow
ae5914acdf [buildroot] use ext-toolchain.sh to integrate external toolchains
Use ext-toolchain.sh to wrap external toolchain commands,
abort build if certain features such as CONFIG_SOFT_FLOAT or 
CONFIG_IPV6 are enabled but not supported by the toolchain.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 03:08:09 +00:00
kaloz
5d7b80359c [toolchain/gcc]: upgrade to latest linaro releases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 22:52:40 +00:00
nbd
056e3e42e0 gcc: always explicitly link against libstdc++, fixes build errors on some hosts that refuse to link it in implicitly (should fix #10587)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-12 10:15:20 +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
jow
5c8f292566 [toolchain] disable UCLIBC_HAS_XLOCALE and UCLIB_HAS_GLIBC_DIGIT_GROUPING if BUILD_NLS is on (#10735)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 12:32:47 +00:00
jow
e2b9e1a026 [toolchain] if CONFIG_BUILD_NLS is selected, compile uClibc with locale support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 15:11:11 +00:00
nbd
920303cbb2 build: add a lib64 symlink in staging_dir/host and staging_dir/toolchain* for systems that prefer this as library path (e.g. current SuSE), fixes mpfr and gcc build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-28 19:19:33 +00:00
florian
573616dc75 [toolchain] uclibc: backport upstream signalfd patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-25 15:59:21 +00:00
hauke
fdb4676b62 gcc: add 4.6-linaro version 4.6-2011.08
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-18 12:13:54 +00:00
hauke
f4d3cba607 gcc: make patches apply for gcc 4.5-linaro version 4.5-2011.08
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-18 12:12:47 +00:00
hauke
a259e0363d gcc: move patches as the name changed.
This was missing in r28038.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-18 12:09:42 +00:00
hauke
7116227cee gcc: update gcc-4.5-linaro to 4.5-2011.08
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-18 12:07:15 +00:00
hauke
ade52e08f7 gcc: rename linaro to 4.5-linaro
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-18 12:06:17 +00:00
hauke
ad4c6c4a5d binutils: add binutils 2.21.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-06 09:53:58 +00:00
nbd
6a57541061 kernel-headers: fix compile error caused by wrong host include path when the toolchain is already built
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-05 16:39:04 +00:00
jogo
3774cad3e6 toolchain/uClibc: Make sure there's always a UCLIBC_VERSION_*
UCLIBC_VERSION_* was only defined when toolchain options was enabled,
breaking packages depending on (not) having certain uClibc versions.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-02 23:32:44 +00:00
nbd
a8907a6272 uClibc: backport an x86 compile fix from mainline (thx, swalker)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-25 18:26:02 +00:00
nbd
f8277b14ea uClibc: update to latest 0.9.32.1 git
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-25 13:38:58 +00:00
nbd
8de5d6a137 eglibc: remove obsolete dependencies to fix missing config options for eglibc 2.13
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-16 10:27:48 +00:00
kaloz
33e064fbce [toolchain]: In R27118, TARGET_FIX_V4BX_SPEC got lost in the linker parameters.
Add it back.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-12 13:34:18 +00:00
kaloz
954994200e [toolchain/gcc]: the only reasons for having 4.4 around are avr32 and ubicom32, so make it depend on them
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-08 11:15:00 +00:00
nbd
10e2f68dfd toolchain: remove a dependency on a nonexistant config symbol (thx, Sedat Dilek)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-08 08:13:50 +00:00
nbd
af008e7924 uClibc: fix messed up patch headers in fts patch (patch from #9671)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-08 07:14:23 +00:00
kaloz
b9521f128e [toolchain/gcc/linaro]: fix ppc toolchain build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 22:19:38 +00:00
florian
9211b001ce [toolchain] uclibc: backport FTS support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 09:42:57 +00:00
florian
93b9f41b61 [toolchain] eglibc: add support for 2.14
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 09:42:47 +00:00
florian
ddd39792a8 [toolchain] remove reference to old eglibc versions.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 09:42:44 +00:00
nbd
9fe98cb022 eglibc: remove old versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 09:47:00 +00:00
nbd
0b9131c9b9 eglibc: fix portability issues rpcgen and zic, fixes compile on darwin
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 09:46:39 +00:00
kaloz
23867be681 [toolchain/gcc]: simplify configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 07:50:26 +00:00
kaloz
e0457ac4da [toolchain]: nuke support for older gcc versions, except for 4.4.6 (needed for avr32 and ubicom32)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 07:43:26 +00:00
kaloz
3c0b08a6b6 [toolchain/gcc]: both coldfire and etrax are broken and should use a newer gcc when they will be fixed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 07:28:16 +00:00
kaloz
be36aada21 [toolchain/gcc]: switch avr32 to gcc 4.4, also powerpc targets should work fine with linaro releases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 13:44:03 +00:00
kaloz
e8a253ed34 [toolchain/gcc]: bump the 4.4 flavour to 4.4.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 13:39:50 +00:00
kaloz
9d43dbd716 [toolchain]: replace gcc 4.5.2 support with 4.6.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 11:43:15 +00:00
kaloz
bdc374886d [toolchain]: add the latest avr32 toolchain patches (with additional fixes)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 11:35:21 +00:00
kaloz
98d589f532 [toolchain/gcc]: upgrade the linaro gcc to 2011.06
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 08:10:12 +00:00
mirko
eef4338513 [toolchain/eglibc] eglibc CAN be compiled with -Os after all - flags however need to be stated in $EGLIBC_CFLAGS as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-26 21:47:14 +00:00
nbd
755e8b203d uclibc: make powerpc e500 support independent of the target name, always use it if the spe_fpu feature flag is set
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-26 14:22:55 +00:00
mirko
cdc9ae57fc [toolchain/eglibc] manual/Makefile: Don't mix pattern rules with normal rules.
This change got committed into the official eglibc repository in commit 11461.

Thanks to Philip Prindeville for pointing this out.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-23 14:38:26 +00:00
jow
63ef78f3da [toolchain] add gfortran compiler support (#9600, patch from Xiangfu Liu via Qi hardware)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-23 11:46:24 +00:00
jow
814de68e5d [toolchain] introduce option to enable setjump()/longjump() based C++ exceptions (#9185, patch from David Kuehling via Qi hardware)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-23 11:37:39 +00:00
mirko
c383f7f6cf Revert "[toolchain/eglibc} eglibc in fact can be built with -Os"
Compiling with -Os results in: "error: #error "glibc cannot be compiled without optimization"

Still, building with -Os is listed as feature in
<http://www.eglibc.org/features>:

""
Building with -Os
     EGLIBC supports building the library with compiler optimizing for size -Os instead of for speed -O2.
""

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-20 11:12:46 +00:00
mirko
159c4f1f06 [toolchain/eglibc] explicitly disable the use of ldconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 17:53:41 +00:00
mirko
e57d4b04d4 [toolchain/eglibc] patch: add /usr/lib to default search path of dynamic linker
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 11:14:07 +00:00
mirko
2f83c80a22 [toolchain/eglibc] add support for eglibc version 2.13
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 11:14:05 +00:00
mirko
62dcca9fd7 [toolchain/eglibc} eglibc in fact can be built with -Os
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 11:14:01 +00:00
mirko
48a0a5ccf0 [toolchain/eglibc] when selecting eglibc, use version 2.12 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 07:33:28 +00:00
mirko
6ed4c4bfde [toolchain/glibc] fix glibc to work with all versions of binutils, fixes #7133 - thanks to marek siller
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-17 22:51:24 +00:00