Commit Graph

646 Commits (00246b1b5c29db378436381be090f35489fde379)

Author SHA1 Message Date
Felix Fietkau f5dc5c4ae5 remove obsolete comment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-24 01:38:31 +00:00
Felix Fietkau 44e5cd2219 clean up uClibc config handling - use kconfig.pl to split configs similar to how it's done in the kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-24 01:34:51 +00:00
Felix Fietkau ce42e5dbfc fix $(BUILD_DIR_TOOLCHAIN)/uClibc symlink
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-23 21:23:46 +00:00
Felix Fietkau f7f48a6ddf add uclibc 0.9.30.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-23 21:04:30 +00:00
Felix Fietkau 2b419ade23 clean up uclibc patch/config version handling a bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-23 17:56:28 +00:00
Felix Fietkau cbd7eba2e9 fix missing binutils default version change
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 19:06:06 +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
Hamish Guthrie 727029948e Bumped compiler version for PS3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-16 10:38:21 +00:00
Hamish Guthrie 522873439e Set default compiler for ps3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-16 10:06:40 +00:00
Felix Fietkau 051b6223f9 nuke some obsolete gcc versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 03:21:56 +00:00
Felix Fietkau 06e76c6ccd enable eabi support by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 03:17:35 +00:00
Felix Fietkau e1fdc6451a switch to binutils 2.19.1 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 03:17:28 +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
Felix Fietkau bf1673f285 gcc: backport a patch from gcc trunk that fixes an internal compiler error on arm in version 4.3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-13 22:35:39 +00:00
Felix Fietkau b161730496 fix stampfile variables for the toolchain build (fixes gcc compile error)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-13 12:50:23 +00:00
Ralph Hempel 089cd811f5 fix powerpc build (works for 2.4 and 2.6)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-01 11:04:08 +00:00
Felix Fietkau f0d6629f64 upgrade the cross-gdb to 6.8 (patch from #4701)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-28 21:02:49 +00:00
Steven Barth 675d868d87 Upstream fix for syscall() not setting errno on errors on MIPS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-28 01:29:00 +00:00
Nicolas Thill 6ef71d6d6c [toolchain] gdb: use @GNU mirror facility, cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 23:59:23 +00:00
Nicolas Thill 84f43d1453 [toolchain] move common variables to a dedicated include file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 23:52:27 +00:00
Nicolas Thill f927bc9d16 [toolchain] kernel-headers: fix build error when run for the second time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 17:49:36 +00:00
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
Imre Kaloz c813d578fd general fixes for openwrt with kernel 2.6.28
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-05 14:46:18 +00:00
Florian Fainelli cf59f8469a Fix ssp enabling/disabling (#4388)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-04 12:56:31 +00:00
Jo-Philipp Wich 448b48be71 [uClibc] enable netlink support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-03 17:28:58 +00:00
Jo-Philipp Wich cebf442015 [uClibc] enable support for getifaddrs() - required by lldpd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-03 13:07:30 +00:00
Felix Fietkau a5c9910ae2 remove the openat() patch, as it's breaking quite a few packages.
the problem is in the AT_FDCWD define, which packages check for to
see if fdopenat, openat, fstatat, etc. are supported, but the patch
only adds openat() and not the other functions.
this should probably be fixed upstream and not just in openwrt.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-02 04:16:30 +00:00
Felix Fietkau 2f421eb302 use binutils 2.18 for avr32, 2.17 is severely broken
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-02 01:14:09 +00:00
Felix Fietkau 52aa71f6c4 fix avr32 build breakage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-02 01:10:22 +00:00
Nicolas Thill e3e9f135ab fix gcc-4.2.4 when target != avr32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-03 00:20:00 +00:00
Imre Kaloz 3e2defe46a nuke old gcc 4.2 versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 18:32:02 +00:00
Imre Kaloz 5977aa09bc sync gcc's Config.in with Config.version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 18:26:10 +00:00
Imre Kaloz d3cdf53d78 nuke binutils 2.16.1 - old, unused, buggy
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 18:23:25 +00:00
Imre Kaloz c695d27865 sync gcc patches with the Atmel 1.1.3 release
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 18:10:03 +00:00
Imre Kaloz baa533569c clean up patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 18:06:29 +00:00
Imre Kaloz f0403b8ded sync avr32 binutils patch with the Atmel 1.0.1 release
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 10:35:44 +00:00
Imre Kaloz c77b7dc3ae switch powerpc targets to gcc 4.2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-26 10:07:18 +00:00
Imre Kaloz 3f1313c293 switch to gcc 4.2.4 for avr32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-25 18:35:48 +00:00
Imre Kaloz 74afd983df add avr32 support to binutils 2.18
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-25 18:34:48 +00:00
Florian Fainelli 86ae448cac openat is not an implemented syscall on linux-2.4, so make it only available for linux-2.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-16 17:03:16 +00:00
Hamish Guthrie 1f0300336e Add support for openat system call - this must be extended for the rest of these system calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-14 07:52:54 +00:00
Nicolas Thill ef1b78d84b [cosmetic] indent conditionnals in uClibc Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-08 23:00:22 +00:00
Nicolas Thill 850a33d79c add md5sums for binutils & gcc and use the GNU mirror facility
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-08 21:18:33 +00:00
Florian Fainelli e8fe824c61 Fix locations for the uClibc snapshot version (#4065)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-28 22:04:53 +00:00
Hamish Guthrie 31b995b49c The merge of ppc (32-bit headers) and powerpc (previously 64-bit only headers) has now been completed, so it build breaks if asm-ppc headers directory does not exist - this should fix this problem without being invasive
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-09 11:33:47 +00:00
Felix Fietkau 41b9b028ca fix up the asm includes location for .27 when building kernel headers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-29 18:09:24 +00:00
Lars-Peter Clausen 07a98d0fe8 Fix a segfault in uclibc ldso.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-25 13:06:43 +00:00
Lars-Peter Clausen ad09ac03c5 Avoid endless recursion in uClibc pthreads.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-22 22:51:53 +00:00
Nicolas Thill 6a82c67d87 add patches to fixes gcc 4.2.x bugs:
- fix gcc ICE when compiling package/ath9k (closes: #3816)
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37014
 - fix "undefined reference to `fmsub'" error on powerpc
   http://bugs.uclibc.org/view.php?id=1588


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-18 12:24:32 +00:00
Felix Fietkau 78aec4b21d disable autorebuild for the toolchain, as it can easily lead to build breakages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-02 10:57:35 +00:00
Felix Fietkau a9db787ce2 make libc.so symlink relative instead of absolute (#3878)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-17 12:30:14 +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
Florian Fainelli 0ae9727f8b Disable smash stacking support by default, but allow to enable it as an experimental feature
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 12:54:28 +00:00
Felix Fietkau d7a52d4599 fix uClibc legacy version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-29 14:58:48 +00:00
Florian Fainelli 46a156a794 Update uClibc config for x86_64
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-27 16:56:34 +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
Florian Fainelli 2d285a2fb7 uClibc for x86 targets and kernels >= 2.6.24 need to copy the right include files, remove this when there are no 2.6.23 left
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-21 10:41:27 +00:00
Nicolas Thill 119bfa9050 use qstrip macro to strip quoted CONFIG_* strings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-14 23:24:58 +00:00
Felix Fietkau 415cc1c3db add some sanity checking
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 14:34:00 +00:00
John Crispin ea5f3e97ac finally fixes etrax toolchain problems, thanks nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-06 20:12:05 +00:00
Imre Kaloz cc7c0a18fb * refresh storm patches
* disable BX in uClibc config, add ethernet and watchdog support -- thanks to Zilvinas Valinskas

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-05 17:10:39 +00:00
Imre Kaloz 1e1f3be699 add patch to fix EABI compiles on ARMv4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-05 16:38:04 +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 8a0895053a gcc 4.2.4 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-31 18:45:07 +00:00
Matteo Croce d09a02e0ed refresh gcc-4.2.3 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-21 11:51:22 +00:00
Travis Kemen c9435d7a7a fix avr32 compiling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-16 04:44:15 +00:00
Nicolas Thill 77a46bc936 Fix a bug causing an infinite loop in getaddrinfo (closes: #3344)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-11 10:19:12 +00:00
John Crispin f58d9097ea remove ugly hack for etrax
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-03 15:46:23 +00:00
John Crispin e88328d7c6 fix up uclibc support for etrax
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-03 15:45:42 +00:00
John Crispin 9af8fc6374 fix uclibc version selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-03 15:45:34 +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
Felix Fietkau 6e4bdf784b make sure the toolchain target dir really exists
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-22 20:30:55 +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
Florian Fainelli 215e237e9f Do not disable tls yet, uclibc-ntpl will support it soon
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-10 15:52:38 +00:00
Florian Fainelli 6e62677c05 Disable tls support, uClibc does not support it, and it could lead to linking failures with some braindead autoconf programs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-10 14:05:38 +00:00
Imre Kaloz 244b78ec57 fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-03 13:44:38 +00:00
Travis Kemen e1a89cf4d4 Fix format of depends clause for avr32 Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-29 19:56:46 +00:00
Felix Fietkau d26eb1c417 fix uclibc build on osx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-09 21:22:31 +00:00
Felix Fietkau 2eb2107864 remove the "depends BROKEN" for eabi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-07 10:16:37 +00:00
Nicolas Thill f2b9a111ee fix md5sum for v0.28.2 (closes: #3159)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-19 21:38:29 +00:00
Imre Kaloz c203865e38 fixup ARM EABI on GCC 4.1.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-17 15:37:58 +00:00
Felix Fietkau c0d62a8c74 add missing config change for OABI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-14 19:41:33 +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
Imre Kaloz 815e1daffa use GCC 4.2.3 by default for AVR32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-07 20:21:18 +00:00
Imre Kaloz d2d90a1fcf add GCC 4.2.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-07 20:18:40 +00:00
Imre Kaloz 4002b7d5f6 sync AVR32 patches with upstream
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-07 20:05:11 +00:00
Felix Fietkau 62c655ab64 fix path to etrax patches (#3055)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03 18:22:22 +00:00
Imre Kaloz a8f6b6ede0 *sigh* :P
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03 17:36:04 +00:00
Felix Fietkau fde588ba11 Add binutils-2.18 patches for all arches but AVR32.
Re-diff the existing patches for binutils-2.17 for all architectures
but AVR32, and make the possible selection of binutils-2.18 dependent
on selecting any arch but that one for the time being.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-02 18:06:32 +00:00
Felix Fietkau a08a9909e7 turn on UCLIBC_HAS_PROGRAM_INVOCATION_NAME (see #2941)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-02 02:31:15 +00:00
Gabor Juhos 507ae0f23a [toolchain] eliminate the root cause of the uClibc problems on the powerpc platform
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-01 18:42:22 +00:00
Gabor Juhos 2884ed0e63 [toolchain] gcc: fix version selection for Magicbox
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-01 16:44:52 +00:00
Imre Kaloz 145c0e4a4f fix GCC version selection for Magicbox
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-27 21:21:46 +00:00
Gabor Juhos 66997bfea8 [toolchain] uClibc: change some symbols to local on ppc to make Kaloz happy :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-27 21:15:27 +00:00
Felix Fietkau 059b8ee187 remove some wrong depends/defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-27 18:49:51 +00:00
Ralph Hempel b44ed1df4e oops, missing file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-27 18:02:32 +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
Florian Fainelli 5cd80b981e Fix sockets.h for mips/mipsel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-31 13:31:48 +00:00
Felix Fietkau b8b6714392 fix uclibc compile on brcm-2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 19:23:54 +00:00
Felix Fietkau e194e315be fix ntpd compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 16:41:08 +00:00
Felix Fietkau 21f210a46b use __inline__ instead of inline to avoid build errors with -ansi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 04:25:17 +00:00
Felix Fietkau 6453d413ce enable res_close bsd compat, asterisk requires this
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 03:56:33 +00:00
Felix Fietkau a62f0bf611 add a workaround for inline function redefinition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 00:17:01 +00:00
Felix Fietkau 7e36fbdf47 turn SUSv3 legacy macros into inline functions to avoid crazy build breakage in multiple packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 00:06:12 +00:00
Felix Fietkau dea1fa08ea replace cflags hacks with the correct solution
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-29 20:31:48 +00:00
Felix Fietkau e7a80c8802 enable gnu glob in uclibc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-29 19:07:58 +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
Felix Fietkau 76a2d53727 fix comgt compile error caused by the uclibc upgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-29 00:50:40 +00:00
Felix Fietkau 1a7ceb362b update x86 uclibc configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-29 00:50:35 +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 2630adf92a upgrade to uClibc 0.9.29 - break binary compatibility #1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 19:51:24 +00:00
Imre Kaloz 81c69df3b7 we don't use Atmel version numbers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:44:28 +00:00
Imre Kaloz 399e82d409 add another softfloat patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:32:14 +00:00
Imre Kaloz 43fd42318b update AVR32 binutils patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:26:50 +00:00
Imre Kaloz ffc2b70896 update binutils autoconf scripts, too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:13:08 +00:00
Imre Kaloz 08e9c42e67 fixup softfloat handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:06:47 +00:00
Andy Boyett 358f9b5428 Disabling use of libintl in kernel-headers.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-26 22:22:02 +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
John Crispin ab8e59334f added binutils 2.18 selection, Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-20 22:23:12 +00:00
Felix Fietkau aea721d6c8 hopefully fix occasional uClibc/gcc build failures
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-13 01:17:26 +00:00
Felix Fietkau 5a9cf90163 fix a few stampfile locations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-20 19:58:49 +00:00
Felix Fietkau eef07b8858 revert abi changes in uClibc - on hold for 7.11, will be added again with the uclibc upgrade for 8.01
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-09 13:20:21 +00:00
Felix Fietkau 6395d7864e disable crt_fini compatibility in uClibc, compile custom ld-uClibc for broadcom utilities
allows us to upgrade uClibc without breaking compatibility for nas and wl
breaks binary compatibility for packages from earlier kamikaze releases


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-09 03:20:13 +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
Imre Kaloz 0c0b19ae61 add gcc 4.2.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-25 09:16:31 +00:00
Felix Fietkau 3a5ab101f0 Add binutils extra configure options
Currently, we can specify extra configure options for gcc, but not
binutils.

This change adds an EXTRA_BINUTILS_CONFIG_OPTIONS config variable,
so we can add configure options for binutils.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23 06:23:20 +00:00
Felix Fietkau 4e577f8c71 openwrt: honour gcc extra configuration flags
Although the CONFIG_EXTRA_GCC_OPTIONS flag is available, it isn't used
anywhere.

This change adds the extra flag to both gcc configure stages.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23 06:23:17 +00:00
John Crispin 942c79cf15 changed the -fhonours-copts gcc patch, such that the function needs to be turned on explicitly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-07 00:26:02 +00:00
Felix Fietkau e13d32e20e fix gdb installation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-01 14:55:38 +00:00
Felix Fietkau 97e9f3b432 remove obsolete file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-24 00:11:20 +00:00
Florian Fainelli 8b86453a9a Fix toolchain generation with FPU enabled (#2242)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-09 15:50:03 +00:00
Felix Fietkau 6bcd07afdd major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 19:55:42 +00:00
Nicolas Thill 1fb234e5c4 include kernel-version.mk from kernel.mk so that a correct KERNEL_PATCHVER is always available
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26 13:26:02 +00:00
Nicolas Thill 5780bcb8db fix typo (closes: #2275)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26 13:00:27 +00:00
Florian Fainelli a6c626e609 Disable multilib by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-23 16:08:09 +00:00
Florian Fainelli d16e4130df Fix the stage2 compilation, no side effect with gcc4 (#2190)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-13 16:26:58 +00:00
Florian Fainelli 71e3948b34 Replace TOOLCHAIN_BUILD_DIR with BUILD_DIR_TOOLCHAIN (the other one is deprecated)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-11 17:32:45 +00:00
Florian Fainelli be3229bd33 Fix gdb installation, thanks to Alfred Heggestad
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-09 21:38:05 +00:00
Florian Fainelli ac44d974c1 rdc can be built with gcc4 as well, my mistake
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-08 12:03:24 +00:00
Felix Fietkau 123571d003 fix kernel-headers download (#2179)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 09:41:54 +00:00
Felix Fietkau d10a56dc58 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 00:04:25 +00:00
Florian Fainelli e8d7d2c474 rdc-2.6 must be built with gcc-3.4.6, if not it will not boot at all
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-05 11:05:08 +00:00
Florian Fainelli cf679bf727 Allow installing gcj/gnu classpath,for those interested
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-04 10:59:02 +00:00
Felix Fietkau 949ca9cf6e Port the mbsd_multi patch from freewrt, which adds -fhonour-copts. This will emit warnings in packages that don't use our target cflags properly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-31 00:52:27 +00:00
Felix Fietkau a6c33d3511 fix the gcc stampfile for initial stage installation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 22:27:37 +00:00
Felix Fietkau 790191f124 remove leftover CONFIG_JLEVEL
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 22:23:17 +00:00
Felix Fietkau af048b68e3 fix an uClibc compile error that only happens on rebuilds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 22:01:29 +00:00
Felix Fietkau a5ff10dd74 no need to call compile,install on the kernel-headers dir - this gets rid of another unnecessary autorebuild check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 21:57:14 +00:00
Felix Fietkau 03ffe176e5 next round of cleanup, convert target/ - make -j works now ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 21:14:08 +00:00
Felix Fietkau 7f5129c7d9 next round of build system cleanup - convert package/ to new structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 18:22:01 +00:00
Felix Fietkau 9fed5becd7 remove leftover stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 16:04:23 +00:00
Felix Fietkau 1f1b2ca360 fix compile errors with make 3.80
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 15:00:27 +00:00
Imre Kaloz 508cc38074 add gcc 4.2.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8223 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 12:26:28 +00:00
Felix Fietkau b13da650d7 use $(curdir) again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-28 13:44:04 +00:00
Felix Fietkau 1b88b67b09 build system fixes, more cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-28 13:29:03 +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
John Crispin c89087650d added i686 support and profile for t-vision s100
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-08 16:11:40 +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
Rod Whitby ee8dc5e2cd Enable LDSO_RUNPATH in uClibc configuration for all platforms
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-29 05:34:12 +00:00
Felix Fietkau d922f4e821 update magicbox target to 2.6.22-rc6, select gcc 4.2.0 as default for this target (4.1.2 segfaults at compile time)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 20:42:21 +00:00
Felix Fietkau 8df096ed3e fix gcc 4.2.0 compile for ppc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 19:52:09 +00:00
Felix Fietkau 3617128749 add update target to toolchain/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 08:45:59 +00:00
Felix Fietkau 018a1790a1 replace gcc 4.2 snapshot with 4.2.0 release (sync patches with uclibc buildroot), adjust gcc makefile for PATCH_DIR changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 07:30:25 +00:00
Felix Fietkau 7170cf7ed0 remove the custom Build/Prepare override in binutils, use PATCH_DIR, refresh patches using quilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 07:20:42 +00:00
Felix Fietkau 587fc03979 enable the refresh target in toolchain/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 07:20:02 +00:00
Felix Fietkau f535b2afbf disable quilt for kernel-headers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 06:53:08 +00:00
John Crispin 86cbd1f5da added several patches to make packages compile for the foxboard
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-12 20:36:02 +00:00
John Crispin 5e3d2092ab Fixes compile bug for uclibc-cris
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-12 18:06:13 +00:00
Felix Fietkau fef4a473d7 fix kernel-headers patching (#1878)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-12 12:59:06 +00:00
Imre Kaloz 15a51103e8 add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-08 10:44:01 +00:00
Imre Kaloz 272253c061 we don't need libmudflap at all
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-08 10:35:23 +00:00
Imre Kaloz d97355e6f3 use binutils 2.17 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-08 10:32:29 +00:00
John Crispin efa6703d98 Fixed a bug in the kernel-headers/Makefile introduced by the cris merge
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-02 09:27:07 +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 931184cd42 add arm fix for gdb from #1468
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-07 17:52:20 +00:00
Felix Fietkau 9384678f16 the default_subtargets template was a bad idea, since different makefiles require different types of dependencies for subtargets. nuke it...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-18 17:35:46 +00:00
Florian Fainelli d959efc2d3 Remove ldd/ldconfig for the moment (#1551)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-04 20:24:06 +00:00
Hamish Guthrie 8eee721db6 Cleanups on romboot and u-boot.
Conditionally apply ldd and ldconfig support on at91 platform


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-04 14:33:52 +00:00
Florian Fainelli 29f0b44895 Add ldd and ldconfig support, template packages derived from gcc and uclibc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-03 22:50:27 +00:00
Felix Fietkau d94667294f Fix portability patch for uClibc.
Certain versions of GNU cp treat -P as --parent, which is wrong here and -P should be implied by -R already.
Fixes build on OSX with fink's fileutils installed.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-01 11:43:11 +00:00
Felix Fietkau 60bf0ca2ce Nuke lots of obsolete compiler versions
Make gcc4 depend on !LINUX_2_4 - I'm getting sick of seeing people complain about
compile errors when trying to build brcm-2.4 with it.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-28 17:52:00 +00:00
Imre Kaloz d25369bfb5 fix gcc version selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-11 19:26:39 +00:00
Hamish Guthrie 0c7837df28 Changed default compiler for 2.6 kernels to 4.1.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-07 22:32:10 +00:00
Felix Fietkau 76da658eb6 changes to target/linux/generic-* should not trigger a kernel-headers rebuild
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 20:48:47 +00:00
Felix Fietkau 556ff80527 mark uml as broken and add some cleanups (not working yet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-28 18:25:14 +00:00
Felix Fietkau 4c814a2dec remove remaining unnecessary dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-28 02:40:19 +00:00
Felix Fietkau 1074b896e4 move ccache to tools/ and fix potential dependency issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-27 23:46:34 +00:00
Felix Fietkau 79987affe2 fix ccache build (#1415)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-27 23:44:04 +00:00
Felix Fietkau ef322346f8 add x86_64 config for uClibc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 21:11:02 +00:00
Felix Fietkau 6a32057e58 add kernel_headers dependency on target/linux/generic-2.*
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 18:54:51 +00:00
Felix Fietkau cbb66de088 clean up stampfile mess for tools/ and toolchain/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 17:49:25 +00:00
Felix Fietkau 33458c350c upgrade to uClibc 0.9.28.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-24 20:22:01 +00:00
Imre Kaloz ef3bf0f2e8 add gcc 4.1.2 (closes #1381)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 10:28:46 +00:00
Felix Fietkau 5987213ee8 Fix ipv4/ipv6 resolving.
When not using AF_INET, gethostbyname2_r tries to resolve an ipv6 address
from /etc/hosts using __get_hosts_byname_r, but with AF_INET instead of the
supplied address family. This returns ipv4 addresses marked as ipv6 ones.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-27 15:13:06 +00:00
Felix Fietkau 69d550862e Fix gcc version selection
- default version for linux 2.4 broken in r6208
- brcm-2.6 needs an older compiler at least on wgt634u (don't ask me why...)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-26 11:02:59 +00:00