Commit Graph

895 Commits

Author SHA1 Message Date
Peter Korsgaard
80161f54e3 toolchain/uClibc: disable UCLIBC_SUPPORT_AI_ADDRCONFIG in 0.9.30 defconfig
UCLIBC_SUPPORT_AI_ADDRCONFIG seems to have issues in 0.9.30 and cause
segfaults on some architectures, so disable it.

Reported and tracked down by "QuickX" <quickx@hotmail.com>.
2009-01-24 06:44:17 +00:00
Ulf Samuelsson
ecdd71417c Fix unroll bug for ARM toolchain 2009-01-23 23:03:25 +00:00
Peter Korsgaard
89aa4113ee kernel-headers: fix 2.6.28.1 serial.h (unbreaks directfb serialmouse.c) 2009-01-23 13:12:57 +00:00
Peter Korsgaard
76c5b603c8 kernel-headers: rename 2.6.25/2.6.28 patches to match current stable versions
Otherwise they won't get applied.
2009-01-23 13:12:51 +00:00
Peter Korsgaard
77662160bb toolchain/gcc: make version detection more robust
Thanks to Bernhard for noticing (and less so for causing the problem in
the first place :P)
2009-01-22 11:18:44 +00:00
Peter Korsgaard
79cdd94154 toolchain/gcc: fix target-gcc for 4.3.x
Includes are in include-fixed and GCC_LIB_SUBDIR needs to be set like for
the rest of 4.x
2009-01-22 10:04:30 +00:00
Peter Korsgaard
30b21413a0 toolchain/kernel-headers: bump 2.6.27 / 2.6.28 versions 2009-01-19 12:34:33 +00:00
Peter Korsgaard
bc65432230 toolchain: introduce HOSTCC_VERSION and fix gcc-4.3.x build with old host CCs
gcc < 4.2.0 doesn't support -Wno-overlength-stings, but gcc-4.3.x configure
fails to detect that, breaking the build.

Work around it by detecting the host gcc version (and store in HOSTCC_VERSION)
and set the proper configure variables for gcc < 4.2.0.
2009-01-19 09:18:46 +00:00
Peter Korsgaard
675b479c2f Kconfig: remove 'default n' and 'default no' (see r22874)
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2009-01-18 14:20:18 +00:00
Ulf Samuelsson
6da70de503 The liboil Makefile will use "-mcpu=vfp" when building for ARM.
The VFP is only available for a few ARM CPUs at the moment,
so this breaks the liboil build.

A patch is available upstream which only enables "-mfpu=vfp"
if "--enable-vfp" is given to "configure".
Autotools needs to be run for liboil for this to take effect.

A new configuration BR2_VFP_FLOAT is added to allow enabling vfp.
If this is "yes", then "-mfpu=vfp" is added to CFLAGS.
2009-01-18 10:51:53 +00:00
Ulf Samuelsson
bdac3e337f Update broken AVR32 toolchain, and update configs for this, deprecate all but latest AVR32 toolchain 2009-01-16 22:39:05 +00:00
Peter Korsgaard
032cc7e76f toolchain/uClibc: mark 0.9.29 as recent 2009-01-16 14:21:24 +00:00
Peter Korsgaard
c816f0b9ea toolchain/gcc: mark old versions as deprecated 2009-01-16 14:13:50 +00:00
Peter Korsgaard
6e0c86fff8 toolchain/gcc: default to 4.3.2 for !AVR32 2009-01-16 14:13:46 +00:00
Peter Korsgaard
3ff43a6838 buildroot: convert remaining WGET users to DOWNLOAD helper 2009-01-16 12:07:53 +00:00
Peter Korsgaard
0ef35d5d5e toolchain/: convert to DOWNLOAD helper 2009-01-16 11:47:05 +00:00
Peter Korsgaard
1a1ecfb69f kernel-headers: mark 2.6.27 as RECENT, 2.6.26 as deprecated 2009-01-15 08:43:33 +00:00
Peter Korsgaard
f0200a600a kernel-headers: default to 2.6.28 2009-01-15 08:33:35 +00:00
Peter Korsgaard
b1225d6f40 kernel-headers: bump 2.6.27 version 2009-01-15 08:33:31 +00:00
Peter Korsgaard
35dc4cd628 toolchain: sh64 fixes
- arch/sh and arch/sh64 got merged in 2.6.25, so use arch/sh for sh64 as well
- use little endian for sh64, like for 32bit sh

sh64 still doesn't build, but gets further along now.
2009-01-13 15:09:18 +00:00
Peter Korsgaard
b2c5b9109e toolchain: fix cris build with 2.6.28 kernel headers
Patch by Hinko Kocevar <hinko.kocevar@cetrtapot.si>
2009-01-12 20:16:16 +00:00
Peter Korsgaard
b268646b9f uclibc: 0.9.30-x86-2.6.28+headers-fix: add r24799 as well
Handle x86_84 as well. From uclibc r24799.
2009-01-12 15:57:28 +00:00
Peter Korsgaard
6e4c616df8 toolchain/uclibc: fix sparc SED handling of _V9 / _V9B 2009-01-12 15:01:28 +00:00
Peter Korsgaard
b24c3215c1 buildroot: get rid of s390 support
As discussed on the list. It isn't supported by uclibc, so I strongly doubt
anyone has been using it.
2009-01-12 14:36:14 +00:00
Peter Korsgaard
5b220b9ded toolchain/uclibc: propagate mips mips32r2 variant setting to uclibc
0.9.30 supports MIPS_ISA_MIPS32R2, so use it if mips32r2 variant is selected.
2009-01-12 14:11:40 +00:00
Daniel Laird
215e91f132 toolchain/external-toolchain/ext-tool.mk: Support non sysroot-able toolchains
Only copy the sysroot files if the toolchain was built with sysroot support.

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
2009-01-12 12:54:30 +00:00
Peter Korsgaard
585aca9a5a add .empty files for git-svn
git-svn (and git) doesn't handle empty directories, so add .empty files
to those dirs like elsewhere in buildroot.

Those empty directories are normally not a big deal, but the recent changes
to u-boot broke the build.
2009-01-05 15:47:00 +00:00
Ulf Samuelsson
37d401f436 Fix binutils Config for AVR32 (hopefully final version) 2009-01-03 16:24:14 +00:00
Ulf Samuelsson
309af037c8 one more fix of binutils config for AVR32 toolchain 2009-01-03 01:06:16 +00:00
Ulf Samuelsson
42c16c7ddb Unbreak AVR32 toolchain, by making binutils-2.17 available 2009-01-03 00:59:57 +00:00
Peter Korsgaard
3db839986d toolchain: revert "Allow creating a script for external use of Buildroot toolchain"
It's been 10 days now without any reply from Ulf, so revert r24480+r24481.
2009-01-02 20:31:01 +00:00
Peter Korsgaard
31de8c37da toolchain/binutils: fix up avr32 related fallout of r24474
It's been 10 days now without any reply from Ulf, so fix it up to what
seems sensible.
2009-01-02 20:30:54 +00:00
Ulf Samuelsson
55abdf59e8 Remove whitespace damage in uclibc.mk 2009-01-02 08:30:44 +00:00
Peter Korsgaard
160d559b81 dependencies: simplistic SHELL = bash check 2009-01-01 21:20:46 +00:00
Nigel Kukard
39c0548428 * Added option to build with gcc 4.3.2 2008-12-31 18:28:59 +00:00
Nigel Kukard
d31f42fe34 * Bump latest 2.6.27 kernel header version to 2.6.27.10 2008-12-31 18:09:13 +00:00
Peter Korsgaard
4826e57a04 toolchain/uclibc: fix 0.9.30 x86 build with 2.6.28 headers (from r24515) 2008-12-29 15:22:23 +00:00
Peter Korsgaard
5a29afb7b5 toolchain/kernel-headers: add 2.6.28
Don't make it default yet as uclibc/busybox seems to have some issues
with it.
2008-12-28 13:50:45 +00:00
Peter Korsgaard
717f8e0a59 toolchain: disable export-toolchain stuff as it breaks make dependencies
For some reason Ulf's export-toolchain stuff breaks the build as the
dependencies target isn't executed and SED isn't set.
2008-12-23 10:21:10 +00:00
Peter Korsgaard
40a2bdae7c toolchain/uclibc: fix typo 2008-12-23 10:21:07 +00:00
Peter Korsgaard
11050fcc62 toolchain/uclibc: Add BR2_ENABLE_LOCALE_PREGENERATED option
Add an option to either generate locales yourself or download the
pregenerated set.

Based on 4bdca9cc in Bernhard's tree.
2008-12-23 09:39:05 +00:00
Ulf Samuelsson
8c3ba39e1d And make script for exported toolchain executable 2008-12-21 17:17:58 +00:00
Ulf Samuelsson
85c7bde99e Allow creating a script for external use of Buildroot toolchain 2008-12-21 17:11:33 +00:00
Ulf Samuelsson
c3329aff8b Revert patch, sent by mistake 2008-12-20 22:34:33 +00:00
Ulf Samuelsson
eb121abf9d Add updated binutils-2.18 prepatched toolchain for AVR32 2008-12-20 22:31:02 +00:00
Ulf Samuelsson
350ced4a71 Add updated gcc-4.2.2 prepatched toolchain for AVR32 2008-12-20 22:27:56 +00:00
Peter Korsgaard
11ea37c64b toolchain/binutils: fix non-sysroot build 2008-12-18 16:52:00 +00:00
Peter Korsgaard
e2e4950b2d toolchain: use same gdb Config.in for internal/external toolchains
We used to use different gdb configs for internal and external toolchains
because mconf won't source the same file twice. This works, but is kind of
sub optimal, as people forget to keep them in sync.

Fix it to use the same file for both situations by shuffling around the
config options a bit. Should work identical to before (except for the newer
gdb versions available for ext).
2008-12-15 15:28:48 +00:00
Thomas Petazzoni
978d8dc53e Another external toolchain support solution
* In toolchain/external-toolchain/ext-tool.mk, copy the contents of
   the sysroot directory to the staging dir.

 * In package/Makefile.in, add a --sysroot CFLAGS pointing to the
   staging dir

 * Remove the CFLAGS and LDFLAGS definition from
   TARGET_CONFIGURE_OPTS. I haven't investigated exactly why, but with
   these options, DirectFB fails to build because it cannot find
   PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP, even if DirectFB's Makefile
   properly sets -D_GNU_SOURCE.

I have already sent this patch on December, 2nd to the mailing-list,
but got no feedback. So let's commit and see what happens :-)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-12-13 16:15:50 +00:00
Peter Korsgaard
8c9f7c675b toolchain/kernel-headers: don't hide 2.6.27 if RECENT isn't enabled 2008-12-10 23:54:18 +00:00