Commit Graph

1099 Commits

Author SHA1 Message Date
Peter Korsgaard
21ab5f31f7 kernel-headers: add 2.6.29.x, remove 2.6.22.x 2009-03-24 09:18:09 +00:00
Peter Korsgaard
b78ad230d1 kernel-headers: remove unused patches for ancient versions 2009-03-24 09:17:49 +00:00
Peter Korsgaard
182418982e kernel-headers: bump 2.6.27.x / 2.6.28.x versions 2009-03-24 09:17:33 +00:00
Peter Korsgaard
1d076fdfb9 kernel-headers: adjust patch names for 2.6.28.8 2009-03-18 23:14:59 +00:00
Peter Korsgaard
111056b6e0 kernel-headers: bump 2.6.27.x version 2009-03-18 11:27:29 +00:00
Peter Korsgaard
0612973e5e kernel-headers: bump 2.6.28.x version 2009-03-17 13:49:03 +00:00
Peter Korsgaard
e860a7bc5d uClibc: additional 0.9.30.1 patches
From Bernhard's tree.
2009-03-12 20:29:24 +00:00
Peter Korsgaard
bb6d88ec0f gcc: 4.3.x fix for PR 32044.
Patch by Daniel Mack <daniel@caiaq.de>
2009-03-10 22:01:06 +00:00
Peter Korsgaard
e8e6bc348b uClibc: strtouq fix for 64bit 2009-03-10 21:03:04 +00:00
Peter Korsgaard
dcb3a259c0 binutils: undeprecate 2.18 for avr32
As discussed on the list. AVR32 is still stuck at 2.18, so don't mark it as
deprecated yet.
2009-03-07 13:51:22 +00:00
Peter Korsgaard
d462b19eb7 binutils: really remove ancient dirs (missing from r25067, git-svn issue) 2009-03-05 13:40:11 +00:00
Peter Korsgaard
73e172c258 binutils: really add 2.19.1 patches (missing from r25513). 2009-03-05 13:33:14 +00:00
Peter Korsgaard
2676c2029b uclibc: 0.9.30.1 fix for ppc32 C99 math
From Bernhard.
2009-03-05 12:11:26 +00:00
Peter Korsgaard
debe83461f binutils: remove handling of ancient versions 2009-03-03 22:09:58 +00:00
Peter Korsgaard
96dbf8aad4 binutils: add 2.19.1 2009-03-03 22:09:50 +00:00
Peter Korsgaard
c130919ae8 binutils: 2.17: fix makeinfo 4.xx check
Fixes #111.
2009-03-03 21:23:34 +00:00
Peter Korsgaard
8e4ba1b452 uclibc: cleanup version handling
Based on 0171c72 in Bernhards' tree.
2009-03-03 20:23:10 +00:00
Peter Korsgaard
7664a62a0c uclibc: add 0.9.30.1 2009-03-03 09:41:15 +00:00
Peter Korsgaard
766c774f28 toolchain/gcc: libstdcpp dependency was listed twice 2009-03-01 20:20:09 +00:00
Peter Korsgaard
aae3f1b6b3 linux: always apply platform patches if available
Get rid of BR2_KERNEL_HEADERS_PATCH_DIR config, and simply always apply
platform patches if available.
2009-02-25 14:28:35 +00:00
Peter Korsgaard
e95aedd05b kernel-headers: update -rt support for 2.6.24 / 2.6.26 2009-02-25 14:27:49 +00:00
Peter Korsgaard
8259f1529a kernel-headers: remove 2.6.20-22 variants and outdated impi/lzma patches 2009-02-25 14:26:03 +00:00
Peter Korsgaard
c75061b876 kernel-headers: remove deprecated 2.4 support 2009-02-24 08:56:26 +00:00
Peter Korsgaard
12df9b4cb3 kernel-headers: bump 2.6.28 stable version 2009-02-22 10:38:04 +00:00
Peter Korsgaard
7508d2de9d kernel-headers: bump 2.6.27/2.6.28 stable versions 2009-02-18 14:16:23 +00:00
Peter Korsgaard
01921dd4d4 toolchain/gcc: add 4.3.3 2009-02-13 08:34:08 +00:00
Peter Korsgaard
35dafd0ba7 kernel-headers: bump 2.6.27/2.6.28 stable versions 2009-02-12 20:21:12 +00:00
Peter Korsgaard
3c1aa51227 binutils: depend on static version of gmp/mpfr 2009-02-10 15:48:19 +00:00
Peter Korsgaard
0833b949f6 kernel-headers: bump 2.6.27/2.6.28 stable versions 2009-02-09 09:07:10 +00:00
Peter Korsgaard
2f72570992 toolchain/gcc/4.3.2: use what really got committed upstream for PR39076
Thanks to Sven Neumann for noticing.
2009-02-05 14:13:43 +00:00
Peter Korsgaard
a1b8914cee toolchain/gcc/4.3.2: remove unused and unneeded fix for PR34205
We don't use the iwmmxt abi anymore.
2009-02-05 13:24:14 +00:00
Peter Korsgaard
a9114d3576 toolchain/gcc/4.3.2: fix arm funroll-loops patch from r24993
Rename it so it actually gets applied and fix it so it can be applied
(-p level).
2009-02-05 13:24:11 +00:00
Peter Korsgaard
16a5a68947 toolchain: revert r25193 (Change binary toolchain configuration)
As discussed on the list.
2009-02-04 13:42:40 +00:00
Peter Korsgaard
5c5a49c0b0 uClibc: remove unused 0.9.29 wchar defconfig
We add the wchar stuff at compile time using sed, so the default defconfig
works, the file hasn't seen any updates since it first got committed, and
there's no references to it in the tree.
2009-02-03 14:29:36 +00:00
Peter Korsgaard
06d48389e2 uClibc: enable LDSO_RUNPATH in defconfigs (use ELF RPATH info)
Fixes mysql-client package (installs shared libraries into /usr/lib/mysql
and sets RPATH).
2009-02-03 14:28:43 +00:00
Peter Korsgaard
b507aca915 kernel-headers: 2.6.28.x: remove cris patch applied upstream 2009-02-02 21:04:13 +00:00
Peter Korsgaard
ca1c4ce743 kernel-headers: bump 2.6.27/2.6.28 stable versions 2009-02-02 20:13:57 +00:00
Ulf Samuelsson
59f084017e Change binary toolchain configuration, so
that the options become visible just below
the config, instead of at bottom of screen

Create a more useful default as toolchain path.

Allow generation of a script which sets up
paths to a binary toolchain generated by buildroot.
2009-01-31 20:49:59 +00:00
Ulf Samuelsson
c1e444ff72 Remove AVR32 patches from kernel-headers directory and put them in
"target/device/Atmel/arch-avre/kernel-headers-2.6.28.2"

Make sure BR2_KERNEL_HEADERS_PATCH_DIR is enabled for 2.6.28
Set
KERNEL_HEADERS_PATCH_DIR="target/device/Atmel/arch-avre/kernel-headers-2.6.28.2"
for Atmel AVR32 targets and "valka"
2009-01-30 18:39:03 +00:00
Daniel Laird
040bd64849 Extend External Toolchain options (match buildroot built toolchain):
Have added options that mean you can set the same BR2_XXXX variables
for external toolchain and internal (buildroot built) toolchain.

This means the same set of packages can be built now me as for you.....

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
2009-01-30 16:28:26 +00:00
Peter Korsgaard
92bd25c9eb toolchain: fix up GNU_TARGET_NAME link and target_utils location
The GNU_TARGET_NAME symlink and target_utils location were not correctly
adjusted to match the move of the toolchain to $(STAGING_DIR)/usr,
creating dangling symlinks.
2009-01-30 13:34:42 +00:00
Peter Korsgaard
81ddf3d083 toolchain/gcc: remove unused gcc 3.x cruft from 4.x makefile (sysroot) 2009-01-30 13:34:35 +00:00
Peter Korsgaard
ea57d89bcc toolchain/gcc/4.3.2: accept abi=aapcs-linux for EABI
From Bernhards' tree, thanks to Sven Neuman for noticing. See also
http://gcc.gnu.org/ml/gcc-patches/2008-09/msg01500.html
2009-01-30 10:35:55 +00:00
Ulf Samuelsson
c528189f96 Move AVR32 patch to kernel header to unbreak several applications 2009-01-30 08:53:08 +00:00
Peter Korsgaard
e87389229e toolchain/gcc: remove ancient (and unused) i386 softfloat patch 2009-01-29 19:24:31 +00:00
Peter Korsgaard
6071bb4e1a toolchain/gcc: remove unused GCC_ENABLE_CLOCALE
This variable was introduced in r17046 (add gfortran support,
2006-12-22) and wasn't used even there.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2009-01-29 19:13:53 +00:00
Peter Korsgaard
97925424aa toolchain: cris fixes for gcc 4.3.x / linux 2.6.28.x
Patches by Hinko Kocevar <hinko.kocevar@cetrtapot.si>
2009-01-28 16:37:09 +00:00
Peter Korsgaard
3813096b28 toolchain/uClibc: fix 0.9.30 build with linuxthreads on ARM
Patch by Will Wagner <will_wagner@carallon.com> - From uclibc svn r25099.
2009-01-28 15:48:52 +00:00
Peter Korsgaard
378f899324 fix configuration wrt elf2flt
The buildroot toolchain is installed in $(STAGING_DIR)/usr/bin and not
in $(STAGING_DIR)/bin so let,s adjust the --prefix accordingly.

Also the BFLT binary format is always stripped by definition, so it is
incompatible with any kind of stripping option.

Signed-off-by: Nicolas Pitre <nico@cam.org>
2009-01-28 06:32:39 +00:00
Peter Korsgaard
d5664ee995 elf2flt: fix link
Seems like recent binutils has pulled in inflate support, so we need to
link with zlib.
2009-01-28 06:32:33 +00:00
Peter Korsgaard
d141a6985a toolchain/kernel-headers: remove ancient (and unused) patches 2009-01-26 21:02:25 +00:00
Peter Korsgaard
13ba121cdb toolchain/binutils: remove ancient (and unused) 2.14/15/16/17 patches 2009-01-26 21:02:15 +00:00
Peter Korsgaard
f85f2de174 Makefile: globally define variables used at different places
$(comma) and $(space) are used in packages and the toolchain.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2009-01-25 20:19:01 +00:00
Peter Korsgaard
d411d3a66c kernel-headers: bump 2.6.27 / 2.6.28 to latest stable 2009-01-25 20:11:45 +00:00
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
Hans-Christian Egtvedt
57aff861b0 binutils: revert bad commit 24343
This reverst the commit 24343, the original state was indeed correct. Blame
goes to my bad sight and too hasty decisions.
2008-12-09 11:38:52 +00:00
Hans-Christian Egtvedt
c7d2e4b0b3 binutils: fix typo for detecting if BINUTILS_NO_MPFR is not set
Make the ifndef check the actual variable, typo bug.
2008-12-09 10:09:15 +00:00
Peter Korsgaard
6b2a59fdea toolchain/kernel-headers: bump 2.6.27.x version 2008-12-08 13:05:47 +00:00
Peter Korsgaard
ffe33152e7 toolchain/gdb: 6.4 shouldn't be selectable for avr32 2008-12-08 08:54:14 +00:00
Peter Korsgaard
41d7b7087c toolchain/gdb: mark old versions as deprecated 2008-12-08 08:46:52 +00:00
Peter Korsgaard
5672e59075 toolchain/gdb: default to 6.8 2008-12-08 08:46:50 +00:00
Peter Korsgaard
0e14d4f7ff toolchain/: get rid of unneeded $(strip ..) 2008-12-08 08:15:42 +00:00
Peter Korsgaard
10f8e714e2 uclibc: add RPC config variables to 0.9.30
Add UCLIBC_HAS_{FULL,REENTRANT}_RPC config variables to the defconfig, so
the sed invocation in uclibc.mk can set them to the proper values.
2008-12-07 21:22:51 +00:00
Peter Korsgaard
78c32db23b toolchain/gdb: add -source target 2008-12-07 21:22:45 +00:00
Peter Korsgaard
01bd158570 toolchain/binutils: add 2.19
Based on 9cd8638d / b86af9a1 in Bernhard's tree.
2008-12-05 15:28:01 +00:00
Peter Korsgaard
5469008f89 toolchain/binutils/2.18.50.0.9: accept sh?-*-*
Based on 3ed6c5b5 in Bernhard's tree.
2008-12-05 15:27:58 +00:00
Peter Korsgaard
01a7a8fef6 toolchain/binutils/2.18.50.0.9: add patch for PR6878
Based on b5451979 in Bernhard's tree.
2008-12-05 15:27:55 +00:00
Peter Korsgaard
56287af5a5 toolchain/binutils: add 2.18.50.0.9
Based on 713e7e46 in Bernhard's tree.
2008-12-05 15:27:52 +00:00
Peter Korsgaard
1ad0441dc8 toolchain/binutils: add 2.18.50.0.8
Based on 1c493ff1 in Bernhard's tree.
2008-12-05 15:27:48 +00:00
Peter Korsgaard
a907a95cb7 toolchain/binutils: add 2.18.50.0.6
Based on 45b89c54 / beede0ba in Bernhard's tree.
2008-12-05 15:27:45 +00:00
Peter Korsgaard
51f5bccbc9 toolchain/binutils: honour HAVE_MANPAGES / HAVE_INFOPAGES
Based on b157db55 in Bernhard's tree.
2008-12-05 15:27:42 +00:00
Peter Korsgaard
7249f4898e toolchain/binutils: let make expand wildcards instead of the shell
Based on f97ce837 in Bernhard's tree.
2008-12-05 15:27:38 +00:00
Peter Korsgaard
e46245b1c0 toolchain/binutils: add 2.18.50.0.3
Based on b2b5d9f2 in Bernhard's tree.
2008-12-05 15:27:33 +00:00
Peter Korsgaard
84ddc66a41 toolchain/*: use CONFIG_UPDATE
Based on e0e0945e in Bernhard's tree.
2008-12-05 15:27:26 +00:00
Peter Korsgaard
d1e6618fe4 uclibc 0.9.30: defconfig: enable UCLIBC_HAS_LONG_DOUBLE_MATH 2008-12-01 14:53:22 +00:00
Hans-Christian Egtvedt
cf13c9824e uClibc: set 0.9.30 as default
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-12-01 14:23:57 +00:00
Hans-Christian Egtvedt
cafdaf2cec uClibc: add a default config for 0.9.30
Courtesy Bernhard Reutner-Fischer GIT repository at
http://repo.or.cz/w/buildroot.git

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-12-01 14:23:09 +00:00
Hans-Christian Egtvedt
0547cb9cb9 uClibc: add uClibc 0.9.30 to kconfig and Makefile
This patch adds uClibc versino 0.9.30 to the list of selectable versions. The
version identification for snapshot is also updated to reflect 0.9.30.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-12-01 13:02:22 +00:00
Peter Korsgaard
b3ef2e9fa0 kernel-headers: bump 2.6.26.x / 2.6.27.x version 2008-11-30 09:52:06 +00:00
Peter Korsgaard
5bf6b74e22 kernel-headers: also show 2.6.26 if deprecated is enabled, but recent isn't 2008-11-30 09:51:57 +00:00
Peter Korsgaard
22a23bb220 kernel-headers: bump 2.6.26 and 2.6.27 minor versions 2008-11-05 11:11:43 +00:00
Peter Korsgaard
030a9d39b1 External toolchain C++ cross-compiler fix
External toolchain C++ cross-compiler fix

package/Makefile.in resets CXX to "" in TARGET_CONFIGURE_OPTS if
BR2_GCC_CROSS_CXX is not set to 'y'. However, when using an external
toolchain, BR2_GCC_CROSS_CXX is not set even if the toolchain has a
C++ cross-compiler.

This patch adds a new BR2_GCC_CROSS_CXX option in the external
toolchain configuration menu, so that just like BR2_INET_RPC,
BR2_INET_IPV6 and the others, it can be set according to the external
toolchain configuration.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-11-03 10:37:27 +00:00
Peter Korsgaard
df1df36fcb More external toolchain fixes
Fix issues with binary external toolchains

Fix two problems encountered while using an external binary toolchain
generated by crosstool-ng:

 - Don't remove the ending / in LIB_DIR, otherwise find $LIB_DIR
   -maxdepth 1 doesn't find any file in the case LIB_DIR is a symbolic
   link and not a directory.

   For some reason, find -maxdepth 1 doesn't have the same behaviour
   on directories and symbolic links. Demonstration:

   $ mkdir foobar
   $ touch foobar/t1
   $ touch foobar/t2
   $ ln -s foobar barfoo
   $ find foobar -maxdepth 1 -name 't*'
   foobar/t1
   foobar/t2
   $ find barfoo -maxdepth 1 -name 't*'
   $ find barfoo/ -maxdepth 1 -name 't*'
   barfoo/t1
   barfoo/t2

 * Make sure the libraries are writable, otherwise the strip operation
   might fail. The library files may not be writable if the toolchain
   is not writable (which may happen if one wants to prevent anyone
   from overwriting the toolchain, which is done by crosstool-ng, for
   example).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-11-03 10:32:59 +00:00
Peter Korsgaard
51f5f62754 External toolchain support improvements
Improve external toolchain support

 * Do not put kernel-headers in the dependencies of BASE_TARGETS in
   the case where BR2_TOOLCHAIN_SOURCE is not y. The kernel headers
   are already supposed to be part of the external toolchain, so
   there's no need to download, extract and install them.

 * In the configuration system, don't display the kernel headers
   version selection list when an external toolchain is selected. This
   is implemented by moving the source
   "toolchain/kernel-headers/Config.in" inside the if
   BR2_TOOLCHAIN_SOURCE in toolchain/Config.in.2.

 * Change the description and help message of the BR2_LARGEFILE,
   BR2_INET_IPV6, BR2_INET_RPC, and BR2_SOFT_FLOAT option in
   toolchain/external-toolchain/Config.in. In the case of an external
   toolchain, the semantic of these options is not to enable large
   file support, IPV6 or RPC (since the toolchain is already compiled,
   it has been decided previously). Their semantic is to let Buildroot
   know about the characteristics of the external toolchain being
   used.

   As an improvement, we could guess these values automatically:

    - for BR2_LARGEFILE, look at the value of __UCLIBC_HAS_LFS__ in
      bits/uClibc_config.h in the libc headers directory.

    - for BR2_INET_RPC, look at the value of __UCLIBC_HAS_RPC__ in the
      same file

    - for BR2_INET_IPV6, look at the value of __UCLIBC_HAS_IPV6__ in
      the same file

    - for BR2_SOFT_FLOAT, look at the output of $(CC) -v 2>&1 | grep
      -- "--with-float=soft"

   But I'm not sure how this would be possible, since these values are
   used at configuration-time by other configuration options, not only
   at build time.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-11-03 10:18:39 +00:00
Arnar Mar Sigurðsson
88b24a4caa 2 gcc patches from Atmel's buildroot 2008-10-31 01:41:31 +00:00
Peter Korsgaard
7543f7dff4 toolhain/: confgure: respect quiet option 2008-10-26 09:14:02 +00:00
Peter Korsgaard
2ee7e54c61 kernel-headers: bump 2.6.25, 2.6.26 and 2.6.27 minor versions 2008-10-24 11:02:32 +00:00
Peter Korsgaard
a16c662d0a toolchain/uclibc: brown paper bag fix for r23746
So much for doing one more "obvious" fix before going home -
Sorry everyone.
2008-10-20 18:55:26 +00:00
Peter Korsgaard
cdade1dd00 toolchain/uclibc: only use make install_headers for 0.9.29+
0.9.28.3 doesn't have install_headers, so use install_dev there.

Got broken by r23561.
2008-10-20 15:23:50 +00:00
Peter Korsgaard
e241fa4290 Typo fix in toolchain/external-toolchain/ext-tool.mk
From: Grant Likely <grant.likely@secretlab.ca>

Comment block header documentation typo
2008-10-17 10:19:38 +00:00
Peter Korsgaard
722f3634fb kernel-headers: bump 2.6.25.x / 2.6.26.x versions 2008-10-10 08:25:15 +00:00
Peter Korsgaard
d60874fe58 kernel-headers: add 2.6.27
And mark 2.6.26 as recent, 2.6.25 as deprecated while we're at it.
2008-10-10 08:25:02 +00:00
Hans-Christian Egtvedt
c0f95aafb8 uclibc: fix path to ARCH_CFLAGS when compiling the test suite
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-07 07:32:40 +00:00
Hans-Christian Egtvedt
8e71cdd87f uclibc: add kconfig option and make stuff for installing the uClibc test suite
This patch adds the possibility to install the uClibc test suite to the target
file system. This is useful if you need to debug or test your uClibc.

The option is defaulted to no, and is not needed for a normal running Linux
system. The test suite is installed to /root/uClibc

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-07 07:20:32 +00:00
Wade Berrier
3916f9ef4a ccache:
-Don't show custom location dir if ccache isn't selected.
2008-10-06 20:28:46 +00:00
Wade Berrier
af9710538e ccache:
-Allow user to specify custom ccache location.

This allows you to build a toolchain and put it on
 an nfs share so other people can use the toolchain
 without errors about the ccache dir missing.
2008-10-06 19:14:41 +00:00
Hans-Christian Egtvedt
50b55c9006 gcc: make installation of shared libraries multi-project safe
This patch modifies the rule for installing the shared libraries into the
project_foo/.../autotools-stamps directory. This will make the installation of
GCC shared libraries be multi-project safe.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-02 15:02:38 +00:00
Hans-Christian Egtvedt
3fac2be724 gcc: make sure that /usr/lib exists on target before installing shared libs
On very lite systems the /usr/lib directory might not exist before libstdc++ is
installed. This patch makes sure the directory exists.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-02 14:32:07 +00:00
Hans-Christian Egtvedt
49f6f94aee kernel-headers: remove whitespace damage 2008-10-02 14:24:45 +00:00
Hans-Christian Egtvedt
21eb2bfd61 uclibc: install headers after building headers in configure part
This patch will run "make headers install_headers" instead of the old "make
headers install_dev". The latter requires a cross compiler available in uClibc
versions > 0.9.29, and the cross compiler is not available at the configuration
time of uClibc.

Spotted and fixed by Bernhard Fischer.

Tested-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-09-30 07:29:35 +00:00
Hamish Moffatt
ea8e74bcbe Applied change from Ben Nizette and Hans-Christian Egtvedt to
correctly detect version of gcc on recent distros.  Supplied 
patch was against git and didn't apply cleanly to svn, so applied 
by hand.
2008-09-04 02:30:56 +00:00
Peter Korsgaard
5a5c59956b toolchain/gdb: unbreak target gdb support
r22624 (Ulf: Add prepatched AVR32 gcc-4.2.2 toolchain) broke target gdb
support as it tries to apply gdb patches twice. Unbreak it.

Closes #3954.
2008-08-24 07:48:22 +00:00
Peter Korsgaard
1243071b16 gcc: only use -mfloat-abi for ARM, use -msoft-float for other archs
Patch by Wade Berrier.
2008-08-22 13:59:06 +00:00
Peter Korsgaard
dab85fae49 kernel-headers: rename aout patch so it gets applied to 2.6.25.15
Needed by valgrind.
2008-08-19 15:01:36 +00:00
Peter Korsgaard
383ee808ca kernel-headers: bump 2.6.25.x / 2.6.26.x versions 2008-08-19 15:01:33 +00:00
Peter Korsgaard
f9bd1c85f3 ccache: expand help text 2008-08-04 19:08:06 +00:00
Peter Korsgaard
387a5491a2 ccache: cleanup configure args and respect BR2_HAVE_MANPAGES 2008-08-04 19:08:04 +00:00
Peter Korsgaard
3e59a44021 ccache: also remove target symlinks on clean 2008-08-04 19:08:01 +00:00
Peter Korsgaard
5d2d6d9705 ccache: cleanup config 2008-08-04 19:07:58 +00:00
Peter Korsgaard
d3ebf329ca uClibc-0.9.29: remove double ARM subarch selection from defconfig
uclibc.mk unconditionally adds the ARM subarch config entries to the
config so remove them from the defconfig.
2008-08-04 19:07:33 +00:00
Peter Korsgaard
32de4ac2da kernel-headers: remove ancient versions 2008-08-04 19:07:26 +00:00
Peter Korsgaard
d1a4923086 kernel-headers: mark 2.6.24 as deprecated and 2.6.25 as recent 2008-08-04 19:07:24 +00:00
Peter Korsgaard
dc01863bce kernel-headers: add 2.6.26.x 2008-08-04 19:07:21 +00:00
Peter Korsgaard
02a623ddf9 buildroot: remove trailing spaces
for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`;
do
	sed -i 's/ \+$//' $i;
done
2008-08-04 19:07:05 +00:00
Peter Korsgaard
4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
Ulf Samuelsson
228ef57ecf Add latest gcc patch for AVR32 gcc-4.2.2 prepatched source 2008-07-08 19:45:34 +00:00
Ulf Samuelsson
d592884e2c Fix AVR32 gcc patching, when sysroot option is not enabled 2008-07-08 19:31:30 +00:00
Peter Korsgaard
bb4a56d29a kernel-headers: bump 2.6.25.x version 2008-07-07 05:30:22 +00:00
Ulf Samuelsson
126bb72fa0 Add prepatched AVR32 gcc-4.2.2 toolchain from www.atmel.no, move patch locations for prepatched toolchain to be under the toolchain directory 2008-07-04 08:39:35 +00:00
Ulf Samuelsson
74548a0071 fixup gdb-6.7.1 2008-07-01 21:47:24 +00:00
Ulf Samuelsson
8e3f93eec7 disable werror in gdb 2008-07-01 21:46:50 +00:00
Ulf Samuelsson
d6eea487ed disable configure caching in gdb, courtesy of Fathi Boudra 2008-07-01 21:38:03 +00:00
Ulf Samuelsson
5ae5af44a5 Add gdb-6.8 support, courtesy Fathi Boudra 2008-07-01 21:36:31 +00:00
Ulf Samuelsson
0e1f472800 Add gdb-6.8 support, courtesy Fathi Boudra 2008-07-01 21:36:11 +00:00
Ulf Samuelsson
38ca54a719 Fix gbd-6.5, courtesy Fathi Boudra 2008-07-01 21:35:33 +00:00
Peter Korsgaard
5e873d3c7e kernel headers: bump 2.6.25.x
Based on patch by Fathi Boudra.
2008-06-26 07:22:19 +00:00
Peter Korsgaard
32ac555784 toolchain/gcc: use --disable-decimal-float for 4.3.x 2008-06-21 19:47:17 +00:00
Peter Korsgaard
a5ac61715b buildroot: s/depends/depends on/
The new kconfig is more strict regarding depends/depends on, so fixup
the tree.
2008-06-19 19:06:25 +00:00
Peter Korsgaard
e31844e307 toolchain/gcc: add 4.3.1
Based on Bernhards tree.
2008-06-19 19:06:04 +00:00
Peter Korsgaard
f6a212f1c0 toolchain/gcc: mark old versions as deprecated 2008-06-19 19:05:59 +00:00
Peter Korsgaard
15d53f0d1b toolchain/gcc: use $(@D) 2008-06-18 15:46:48 +00:00
Peter Korsgaard
5a5dd825d7 toolchain/gcc: use depends on instead of depends 2008-06-18 15:42:50 +00:00
Peter Korsgaard
0c462a82ec dependencies: check for awk 2008-06-18 13:11:52 +00:00
Peter Korsgaard
4098f22eb4 uclibc: only strip libpthread on 0.9.28.3 / not PTHREAD_DEBUG 2008-06-18 08:51:10 +00:00
Peter Korsgaard
00f3b5c1f2 uclibc: remove obsolete uclibc 0.9.28 handling 2008-06-18 08:51:00 +00:00
Peter Korsgaard
65b0f823b2 toolchain/gcc: use $(STRIP_STRIP_UNNEEDED) 2008-06-17 13:33:02 +00:00
Peter Korsgaard
fb487ac330 toolchain/uclibc: strip libpthread 2008-06-17 13:30:35 +00:00
Peter Korsgaard
e1c7bea59c toolchain/gcc-4.x: strip cross libgcc / libstdc++ 2008-06-17 13:28:37 +00:00
Peter Korsgaard
759e150633 toolchain/gcc-3.x: strip cross libgcc / libstdc++ with cross-strip, not host. 2008-06-17 12:54:36 +00:00
Peter Korsgaard
6ba4593f4a gdb: support external toolchain 2008-06-16 15:52:41 +00:00
Peter Korsgaard
6e236eee50 toolchain: more sensible uclibc defaults for external toolchain 2008-06-16 12:22:45 +00:00
Peter Korsgaard
77b4f62415 toolchain: move elf2flt+mklibs under 'Common Toolchain Options' 2008-06-16 07:15:44 +00:00
Peter Korsgaard
d22723861b elf2flt: only allow it to be selected on supported archs 2008-06-16 07:15:33 +00:00
Peter Korsgaard
ab32901117 kernel-headers: 2.6.25.6: export linux/a.out.h (E.G. for valgrind) 2008-06-15 19:17:14 +00:00
Peter Korsgaard
f85cd12c17 toolchain: also setup kernel headers when ext toolchain is used
Provide kernel headers when ext toolchain is used, so we can compile
packages which need them.
2008-06-13 14:28:57 +00:00
Peter Korsgaard
364405da5f toolchain: gcc 4.2.4 support 2008-06-13 11:49:42 +00:00
Peter Korsgaard
fc084dfefe kernel headers: bump 2.6.25.x version 2008-06-11 13:05:23 +00:00
Peter Korsgaard
a40fbe48c9 kernel headers: bump 2.6.25.x version 2008-06-07 09:40:16 +00:00
Peter Korsgaard
197ab1cef2 toolchain: also use arch/tune/abi options when softfloat is enabled
The ifeq/endif nesting was wrong, so arch/tune/abi options where only set in
the non-softfloat case.
2008-06-06 12:49:53 +00:00
Peter Korsgaard
2e696981a6 kernel headers: add BR2_DEPRECATED / BR2_RECENT annotations to 2.6.2x 2008-06-02 12:25:24 +00:00
Peter Korsgaard
22454398f5 kernel headers: add 2.6.25.4 2008-06-02 12:25:20 +00:00