Commit Graph

232 Commits

Author SHA1 Message Date
John Crispin
f1ff3a410f finally fixes etrax toolchain problems, thanks nbd
SVN-Revision: 11383
2008-06-06 20:12:05 +00:00
Imre Kaloz
6ca4659c4e * refresh storm patches * disable BX in uClibc config, add ethernet and watchdog support -- thanks to Zilvinas Valinskas
SVN-Revision: 11367
2008-06-05 17:10:39 +00:00
Imre Kaloz
04fd31f429 add patch to fix EABI compiles on ARMv4
SVN-Revision: 11365
2008-06-05 16:38:04 +00:00
Imre Kaloz
7bb65fb9d7 add preliminary Marvell Orion support
SVN-Revision: 11352
2008-06-04 13:51:17 +00:00
Imre Kaloz
3ab62e8a82 soft-float shouldn't be used on targets with FPU
SVN-Revision: 11338
2008-06-03 09:31:00 +00:00
Imre Kaloz
389c1186cf gcc 4.2.4 support
SVN-Revision: 11310
2008-05-31 18:45:07 +00:00
Matteo Croce
4a78320c11 refresh gcc-4.2.3 patches
SVN-Revision: 11232
2008-05-21 11:51:22 +00:00
Travis Kemen
d3e2ae4e58 fix avr32 compiling
SVN-Revision: 11147
2008-05-16 04:44:15 +00:00
Nicolas Thill
28a650e13a Fix a bug causing an infinite loop in getaddrinfo (closes: #3344)
SVN-Revision: 11106
2008-05-11 10:19:12 +00:00
John Crispin
c4f78ab795 remove ugly hack for etrax
SVN-Revision: 11026
2008-05-03 15:46:23 +00:00
John Crispin
895adb694f fix up uclibc support for etrax
SVN-Revision: 11025
2008-05-03 15:45:42 +00:00
John Crispin
bec6b5517a fix uclibc version selection
SVN-Revision: 11024
2008-05-03 15:45:34 +00:00
Imre Kaloz
a4dd1adf4a add preliminary support for Storm SL3512 based devices, not ready yet
SVN-Revision: 10956
2008-04-27 17:03:01 +00:00
Imre Kaloz
a5510c6b5b PXA has Xscale core as well, so optimize the same way as we do on IXP/IOP
SVN-Revision: 10948
2008-04-26 10:12:08 +00:00
Felix Fietkau
b672976e8e make sure the toolchain target dir really exists
SVN-Revision: 10913
2008-04-22 20:30:55 +00:00
Imre Kaloz
41cf84f819 do target dependent optimizations
SVN-Revision: 10834
2008-04-14 13:24:30 +00:00
Jeremy Kerr
077d84f543 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>

SVN-Revision: 10802
2008-04-12 23:14:42 +00:00
Florian Fainelli
1d482e1d39 Do not disable tls yet, uclibc-ntpl will support it soon
SVN-Revision: 10785
2008-04-10 15:52:38 +00:00
Florian Fainelli
3630b457a5 Disable tls support, uClibc does not support it, and it could lead to linking failures with some braindead autoconf programs
SVN-Revision: 10782
2008-04-10 14:05:38 +00:00
Imre Kaloz
47e402733a fix typo
SVN-Revision: 10718
2008-04-03 13:44:38 +00:00
Travis Kemen
8edd4a509e Fix format of depends clause for avr32 Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
SVN-Revision: 10687
2008-03-29 19:56:46 +00:00
Felix Fietkau
d52a9c3bf7 fix uclibc build on osx
SVN-Revision: 10578
2008-03-09 21:22:31 +00:00
Felix Fietkau
6bce19599a remove the "depends BROKEN" for eabi
SVN-Revision: 10556
2008-03-07 10:16:37 +00:00
Nicolas Thill
f0c567d08c fix md5sum for v0.28.2 (closes: #3159)
SVN-Revision: 10498
2008-02-19 21:38:29 +00:00
Imre Kaloz
6443bc981a fixup ARM EABI on GCC 4.1.2
SVN-Revision: 10480
2008-02-17 15:37:58 +00:00
Felix Fietkau
44f1ad22c8 add missing config change for OABI
SVN-Revision: 10459
2008-02-14 19:41:33 +00:00
Felix Fietkau
82572cf767 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
SVN-Revision: 10458
2008-02-14 14:31:31 +00:00
Imre Kaloz
28a177fca3 use GCC 4.2.3 by default for AVR32
SVN-Revision: 10414
2008-02-07 20:21:18 +00:00
Imre Kaloz
614cc08a14 add GCC 4.2.3
SVN-Revision: 10413
2008-02-07 20:18:40 +00:00
Imre Kaloz
78ef7bbd69 sync AVR32 patches with upstream
SVN-Revision: 10411
2008-02-07 20:05:11 +00:00
Felix Fietkau
5f258e330d fix path to etrax patches (#3055)
SVN-Revision: 10376
2008-02-03 18:22:22 +00:00
Imre Kaloz
7d93d975a5 *sigh* :P
SVN-Revision: 10373
2008-02-03 17:36:04 +00:00
Felix Fietkau
fba7cecc09 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>

SVN-Revision: 10360
2008-02-02 18:06:32 +00:00
Felix Fietkau
4feadffcb1 turn on UCLIBC_HAS_PROGRAM_INVOCATION_NAME (see #2941)
SVN-Revision: 10358
2008-02-02 02:31:15 +00:00
Gabor Juhos
875cd251a0 eliminate the root cause of the uClibc problems on the powerpc platform
SVN-Revision: 10346
2008-02-01 18:42:22 +00:00
Gabor Juhos
f5c304120d gcc: fix version selection for Magicbox
SVN-Revision: 10345
2008-02-01 16:44:52 +00:00
Imre Kaloz
423d63701a fix GCC version selection for Magicbox
SVN-Revision: 10288
2008-01-27 21:21:46 +00:00
Gabor Juhos
41992fe107 uClibc: change some symbols to local on ppc to make Kaloz happy :)
SVN-Revision: 10285
2008-01-27 21:15:27 +00:00
Felix Fietkau
201e164e4d remove some wrong depends/defaults
SVN-Revision: 10284
2008-01-27 18:49:51 +00:00
Ralph Hempel
10d08caa4a oops, missing file
SVN-Revision: 10283
2008-01-27 18:02:32 +00:00
Ralph Hempel
3dfc679bb9 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
SVN-Revision: 10282
2008-01-27 17:59:20 +00:00
Gabor Juhos
6f60b7afcd uClibc: restore support of shadow passwords, but make it configurable
SVN-Revision: 10276
2008-01-26 20:07:47 +00:00
Florian Fainelli
415a070cd2 Fix sockets.h for mips/mipsel
SVN-Revision: 10066
2007-12-31 13:31:48 +00:00
Felix Fietkau
3c307b30a8 fix uclibc compile on brcm-2.4
SVN-Revision: 10063
2007-12-30 19:23:54 +00:00
Felix Fietkau
56d0ebea38 fix ntpd compile
SVN-Revision: 10057
2007-12-30 16:41:08 +00:00
Felix Fietkau
cb9ce31a27 use __inline__ instead of inline to avoid build errors with -ansi
SVN-Revision: 10051
2007-12-30 04:25:17 +00:00
Felix Fietkau
72b3f74a04 enable res_close bsd compat, asterisk requires this
SVN-Revision: 10048
2007-12-30 03:56:33 +00:00
Felix Fietkau
999fe9c51b add a workaround for inline function redefinition
SVN-Revision: 10039
2007-12-30 00:17:01 +00:00
Felix Fietkau
d36d38c8f7 turn SUSv3 legacy macros into inline functions to avoid crazy build breakage in multiple packages
SVN-Revision: 10038
2007-12-30 00:06:12 +00:00
Felix Fietkau
b0392b0661 replace cflags hacks with the correct solution
SVN-Revision: 10031
2007-12-29 20:31:48 +00:00
Felix Fietkau
0dacee1c94 enable gnu glob in uclibc
SVN-Revision: 10027
2007-12-29 19:07:58 +00:00
Felix Fietkau
1c7b826708 unconditionally enable c99 math support in uclibc - many packages need it
SVN-Revision: 10024
2007-12-29 18:07:56 +00:00
Felix Fietkau
1602e0eeec fix comgt compile error caused by the uclibc upgrade
SVN-Revision: 10018
2007-12-29 00:50:40 +00:00
Felix Fietkau
d38a0f69bf update x86 uclibc configs
SVN-Revision: 10017
2007-12-29 00:50:35 +00:00
Imre Kaloz
91c42459f5 use softfloat and GNU EABI on the IOP, too
SVN-Revision: 10015
2007-12-28 20:22:06 +00:00
Imre Kaloz
9aa6d18e2d move ARM to the GNU EABI
SVN-Revision: 10013
2007-12-28 20:13:15 +00:00
Imre Kaloz
5f93ab0b06 use soft float by default on arm and powerpc
SVN-Revision: 10011
2007-12-28 20:03:00 +00:00
Imre Kaloz
66b3d3dcd8 upgrade to uClibc 0.9.29 - break binary compatibility #1
SVN-Revision: 10010
2007-12-28 19:51:24 +00:00
Imre Kaloz
4fc75753e2 we don't use Atmel version numbers
SVN-Revision: 10008
2007-12-28 18:44:28 +00:00
Imre Kaloz
c63ad5ccf9 add another softfloat patch
SVN-Revision: 10007
2007-12-28 18:32:14 +00:00
Imre Kaloz
8700cac711 update AVR32 binutils patches
SVN-Revision: 10006
2007-12-28 18:26:50 +00:00
Imre Kaloz
3e3b877d14 update binutils autoconf scripts, too
SVN-Revision: 10005
2007-12-28 18:13:08 +00:00
Imre Kaloz
915e6b89b5 fixup softfloat handling
SVN-Revision: 10003
2007-12-28 18:06:47 +00:00
Andy Boyett
6bdd0ef590 Disabling use of libintl in kernel-headers.
SVN-Revision: 9935
2007-12-26 22:22:02 +00:00
Imre Kaloz
32a37816c3 softfloat should be available on armeb, but not on mips until the kernel fpu emulation can be disabled
SVN-Revision: 9930
2007-12-26 19:36:34 +00:00
John Crispin
498a2e3070 added binutils 2.18 selection, Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
SVN-Revision: 9814
2007-12-20 22:23:12 +00:00
Felix Fietkau
d48912ffe9 hopefully fix occasional uClibc/gcc build failures
SVN-Revision: 9717
2007-12-13 01:17:26 +00:00
Felix Fietkau
e28b55f39f fix a few stampfile locations
SVN-Revision: 9587
2007-11-20 19:58:49 +00:00
Felix Fietkau
1423753198 revert abi changes in uClibc - on hold for 7.11, will be added again with the uclibc upgrade for 8.01
SVN-Revision: 9519
2007-11-09 13:20:21 +00:00
Felix Fietkau
694cbbccb1 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
SVN-Revision: 9518
2007-11-09 03:20:13 +00:00
Florian Fainelli
da7afd8577 Update CFLAGS pickup to match the target variable name, allow i686 to be optimised
SVN-Revision: 9451
2007-10-26 16:19:59 +00:00
Imre Kaloz
34b4f11508 add gcc 4.2.2
SVN-Revision: 9443
2007-10-25 09:16:31 +00:00
Felix Fietkau
19a6b0fa95 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>

SVN-Revision: 9407
2007-10-23 06:23:20 +00:00
Felix Fietkau
5feb978446 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>

SVN-Revision: 9406
2007-10-23 06:23:17 +00:00
John Crispin
cfd0fecd47 changed the -fhonours-copts gcc patch, such that the function needs to be turned on explicitly
SVN-Revision: 9167
2007-10-07 00:26:02 +00:00
Felix Fietkau
b3ab6c458d fix gdb installation
SVN-Revision: 9088
2007-10-01 14:55:38 +00:00
Felix Fietkau
79d184705a remove obsolete file
SVN-Revision: 9005
2007-09-24 00:11:20 +00:00
Florian Fainelli
328f9d26d8 Fix toolchain generation with FPU enabled (#2242)
SVN-Revision: 8711
2007-09-09 15:50:03 +00:00
Felix Fietkau
a9d683ca91 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
SVN-Revision: 8694
2007-09-08 19:55:42 +00:00
Nicolas Thill
b35e6fe3ba include kernel-version.mk from kernel.mk so that a correct KERNEL_PATCHVER is always available
SVN-Revision: 8494
2007-08-26 13:26:02 +00:00
Nicolas Thill
bf392a7fc0 fix typo (closes: #2275)
SVN-Revision: 8492
2007-08-26 13:00:27 +00:00
Florian Fainelli
e955458388 Disable multilib by default
SVN-Revision: 8471
2007-08-23 16:08:09 +00:00
Florian Fainelli
0143069883 Fix the stage2 compilation, no side effect with gcc4 (#2190)
SVN-Revision: 8409
2007-08-13 16:26:58 +00:00
Florian Fainelli
da932d9e1a Replace TOOLCHAIN_BUILD_DIR with BUILD_DIR_TOOLCHAIN (the other one is deprecated)
SVN-Revision: 8399
2007-08-11 17:32:45 +00:00
Florian Fainelli
b682b4a79e Fix gdb installation, thanks to Alfred Heggestad
SVN-Revision: 8383
2007-08-09 21:38:05 +00:00
Florian Fainelli
38d4bfb9ef rdc can be built with gcc4 as well, my mistake
SVN-Revision: 8379
2007-08-08 12:03:24 +00:00
Felix Fietkau
50ecfa0505 fix kernel-headers download (#2179)
SVN-Revision: 8373
2007-08-07 09:41:54 +00:00
Felix Fietkau
c6bc77ea36 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
SVN-Revision: 8362
2007-08-07 00:04:25 +00:00
Florian Fainelli
b829716e6d rdc-2.6 must be built with gcc-3.4.6, if not it will not boot at all
SVN-Revision: 8345
2007-08-05 11:05:08 +00:00
Florian Fainelli
4d8a5d7d23 Allow installing gcj/gnu classpath,for those interested
SVN-Revision: 8337
2007-08-04 10:59:02 +00:00
Felix Fietkau
99368862e4 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
SVN-Revision: 8256
2007-07-31 00:52:27 +00:00
Felix Fietkau
7cc617cd7e fix the gcc stampfile for initial stage installation
SVN-Revision: 8250
2007-07-30 22:27:37 +00:00
Felix Fietkau
d7229c78ff remove leftover CONFIG_JLEVEL
SVN-Revision: 8249
2007-07-30 22:23:17 +00:00
Felix Fietkau
726e929a95 fix an uClibc compile error that only happens on rebuilds
SVN-Revision: 8248
2007-07-30 22:01:29 +00:00
Felix Fietkau
a37c85d5fe no need to call compile,install on the kernel-headers dir - this gets rid of another unnecessary autorebuild check
SVN-Revision: 8247
2007-07-30 21:57:14 +00:00
Felix Fietkau
d7f2cb1642 next round of cleanup, convert target/ - make -j works now ;)
SVN-Revision: 8242
2007-07-30 21:14:08 +00:00
Felix Fietkau
49e628f765 next round of build system cleanup - convert package/ to new structure
SVN-Revision: 8236
2007-07-30 18:22:01 +00:00
Felix Fietkau
7e21008ee2 remove leftover stuff
SVN-Revision: 8234
2007-07-30 16:04:23 +00:00
Felix Fietkau
f1ac6cf7ec fix compile errors with make 3.80
SVN-Revision: 8230
2007-07-30 15:00:27 +00:00
Imre Kaloz
1181536e69 add gcc 4.2.1
SVN-Revision: 8223
2007-07-30 12:26:28 +00:00