Felix Fietkau
b892e1fb85
build system refactoring in preparation for allowing packages to do host-build steps
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 04:37:20 +00:00
Hauke Mehrtens
dbf25a33d7
uClibc: refresh patches for uClibc
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-21 14:32:21 +00:00
Hauke Mehrtens
1a46f52847
binutils: refresh patches for binutils 2.17
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-21 14:24:39 +00:00
Hauke Mehrtens
77ea892b78
gcc: refresh patches for gcc 4.1.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-18 18:11:04 +00:00
Felix Fietkau
128642a1d8
fix gcc 4.3.x segfault triggered by using -frename-registers (reproduced on arm, might be relevant for other platforms as well)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-14 00:09:27 +00:00
Nicolas Thill
293b872934
[toolchain] cosmetic & coherency fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-03 21:25:48 +00:00
Nicolas Thill
3cdd8c0d66
[toolchain] binutils: add support for v2.19.1 (from #4492 , thanks to dwrobel)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-03 16:23:01 +00:00
Florian Fainelli
73b13003a6
[toolchain] libssp should also be configured in binutils
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-02 23:45:33 +00:00
Nicolas Thill
982542d3cd
[toolchain] gcc: add a patch to allow 3.4.6 to build for x86 ( closes : #4548 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14370 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-02 19:23:56 +00:00
Felix Fietkau
8cea02b5a8
default to binutils 2.18 on ppc* for manual selection as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-02 18:18:47 +00:00
Felix Fietkau
968119adf8
make binutils 2.18 default for ppc44x and ppc40x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-02 16:43:19 +00:00
Florian Fainelli
35402ceaac
[toolchain] allow building and installing java for gcc-4.1.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-01 20:11:00 +00:00
Felix Fietkau
e72763c254
gcc: add missing gcc 4.3.3 patches (copy of the 4.3.2 patches)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-27 21:11:51 +00:00
Felix Fietkau
8792167b0f
binutils 2.19 does not support avr32 yet
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-27 20:09:22 +00:00
Felix Fietkau
41b4d9dca2
add gcc 4.3.3, clean up gcc version config symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-27 20:08:34 +00:00
Felix Fietkau
d2d687867c
eglibc: replace the use of stpncpy with strncpy + manual termination (stpncpy is not available on darwin)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 19:49:26 +00:00
Felix Fietkau
b9bd90012a
port the eglibc cross compiling fix to version 2.9
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 19:47:27 +00:00
Felix Fietkau
f5e43e7dbd
fix eglibc 2.8 cross-compile under darwin / mac os x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 19:44:47 +00:00
Felix Fietkau
8bce44babc
install readelf to STAGING_DIR_HOST (eglibc requires it, not all systems have it)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 04:54:25 +00:00
Nicolas Thill
cb8f9f23ed
[toolchain] fix uClibc fpu/soft-float selection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 22:56:26 +00:00
Nicolas Thill
e93668757e
[toolchain] fix uClibc v0.9.30 build on x86_64
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 16:56:57 +00:00
Nicolas Thill
6798759bb1
[toolchain] enable UCLIBC_SUSV3_LEGACY in uClibc v0.9.30 configs to have <sys/timeb.h> & ftime (needed for openssl and maybe others), thanks to Puchu!
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 14:34:31 +00:00
Florian Fainelli
8cb6829e1a
[toolchain] add missing config symbol in x86_64 configuration
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 14:32:29 +00:00
Nicolas Thill
d748bad85e
[toolchain] add support for gcc v4.3.1 & v4.3.2 ( closes : #3479 ), thanks to Luigi Mantellini!
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 11:58:17 +00:00
Nicolas Thill
7c5cd31ae7
[toolchain] add support for uClibc v0.9.30 ( closes : #4271 ), thanks to Luigi Mantellini & Puchu!
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 11:45:32 +00:00
Nicolas Thill
22bc8ae40a
[toolchain] more kernel headers fixes for cris
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 01:53:05 +00:00
Nicolas Thill
e76e2fefd1
[toolchain] we have a minimal gcc target compiler since [13931], so use it in uClibc headers generation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-20 22:25:42 +00:00
Nicolas Thill
7b0f1b9a55
[toolchain] move all arch fixups from Install to Prepare stage, so that fixed headers are available in $(BUILD_DIR_TOOLCHAIN)/linux-dev/
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-20 17:05:14 +00:00
Felix Fietkau
7ba43d9047
uClibc: compile fix for the new linuxthreads implementation on mips
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-20 14:47:53 +00:00
Nicolas Thill
c6d47b2176
[toolchain] backport patch to allow building uClibc-0.9.28.2 on recent x86 kernels
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-19 14:53:45 +00:00
Nicolas Thill
34d7a50273
[toolchain] fix linux headers & source paths at uClibc config stage
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-17 22:22:41 +00:00
Felix Fietkau
9f7a7201f3
add binutils 2.19 (patch from #4367 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-17 19:29:09 +00:00
Felix Fietkau
2907e8ce0c
uclibc: fix the new libpthread implementation on arm
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14074 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-17 19:21:56 +00:00
Felix Fietkau
57b7a02179
add uclibc eabi patches from #3988
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-17 19:20:32 +00:00
Felix Fietkau
716787174b
add gcc eabi patches from #3988
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-17 19:18:16 +00:00
Hamish Guthrie
c2a20b44bd
Set default gcc for ps3 - gcc-3.4.6 and gcc-4.1.2 do not work at all
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-16 17:51:19 +00:00
Gabor Juhos
9e9b1d1187
[toolchain] fix powerpc toolchain build failure on x86_64 hosts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-14 18:33:13 +00:00
Felix Fietkau
0c487c1507
work around problems with the libpthread onexit() handler
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-14 00:52:51 +00:00
Felix Fietkau
696d714c87
fix the new libpthread implementation - the function table init was broken
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 20:44:29 +00:00
Felix Fietkau
bf4db00c26
do not strip uclibc
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 03:21:39 +00:00
Felix Fietkau
243277a3b5
use the new linuxthreads implementation on i386,i686
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 02:15:52 +00:00
Felix Fietkau
a60b74b8b6
fix gdb compile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 02:15:43 +00:00
Felix Fietkau
e99e831300
uclibc: add the trunc function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 02:15:31 +00:00
Felix Fietkau
c4ed52f907
uclibc: add some libpthread fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 02:15:14 +00:00
Nicolas Thill
7abbd7ad6f
[cris] fix missing ptrace.h needed to build final gcc
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-12 19:03:39 +00:00
Nicolas Thill
9cdedff7f4
[cris] add a fix preventing gcc build system from assuming that libc headers are always available
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-12 19:01:25 +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
3d9562459c
gdb fixes: adjust --prefix & install in $(TOOLCHAIN_DIR)/usr/bin/ (like binutils & gcc)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-11 17:27:56 +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