Commit Graph

1080 Commits

Author SHA1 Message Date
Peter Korsgaard
f3f1a94313 Merge branch 'avr32-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot 2009-12-15 12:39:24 +01:00
Thomas Petazzoni
962ea5b29b gcc: do not pass --with-pkgversion to gcc < 4.3
Commit 09c181f289 added new options
passed to gcc configure to set --with-pkgversion and --with-bugurl, to
gcc >= gcc 4.3. To check this, it was checking that the GCC_VERSION
string does not contain 4.2.

Unfortunately, the test is bogus. It does a findstring on x4.2. (with
a final dot) but compares the result with x4.2 (without the final
dot).

The result is that even with 4.2 versions, the test was true, leading
--with-pkgversion and --with-bugurl being passed to gcc's configure
script.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 12:03:05 +01:00
Thomas Petazzoni
4e813d99f9 uclibc: get rid of avr32 special version since upstream works
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 10:49:59 +01:00
Peter Korsgaard
687d0958a3 toolchain/uClibc: avr32 patch should apply to 0.9.30.1
avr32 uses 0.9.30.1, not 0.9.30.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-15 10:47:39 +01:00
Hans-Christian Egtvedt
b4f01dcc10 uclibc: add prctl syscall fix for AVR32 architecture
This patch fixes the prctl syscall for the AVR32 architecture, since this
architecture assumes you handle varargs in a proper way, always.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-15 10:41:07 +01:00
Peter Korsgaard
d3df830c2b toolchain/uClibc: 0.9.30.x config: enable arch specific string routines if available
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-15 09:51:57 +01:00
Peter Korsgaard
29a9d99b18 Merge branch 'remove-external-toolchain' of git://git.busybox.net/~tpetazzoni/git/buildroot 2009-12-15 00:19:17 +01:00
Thomas Petazzoni
e882889e74 binutils: remove external source patches
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:48 +01:00
Thomas Petazzoni
19d7f0e315 uclibc: remove external sources patches
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:48 +01:00
Thomas Petazzoni
18bc19cb19 gdb: remove external sources patches
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:48 +01:00
Thomas Petazzoni
ebf4f67a8d gcc: remove external sources patches
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:47 +01:00
Thomas Petazzoni
65e99014ce Remove external source toolchain options
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:47 +01:00
Thomas Petazzoni
bc994c533c Use BR2_TOOLCHAIN_BUILDROOT instead of BR2_TOOLCHAIN_SOURCE
The BR2_TOOLCHAIN_SOURCE option is removed in a future commit.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:47 +01:00
Thomas Petazzoni
8a5c3653ac uclibc: remove support for external source toolchains
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:46 +01:00
Thomas Petazzoni
b642f7eefb uclibc: do not allow selection of non-avr32 versions on AVR32
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:46 +01:00
Thomas Petazzoni
45e93c5750 gdb: do not allow selection of non-avr32 versions on AVR32
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:46 +01:00
Thomas Petazzoni
de6dbcf858 binutils: remove support for external source toolchains
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:46 +01:00
Thomas Petazzoni
b772cdd1a7 binutils: do not allow selection of non-avr32 versions on AVR32
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:45 +01:00
Thomas Petazzoni
495e5bdca3 gcc: remove GCC_OFFICIAL_VERSION and just use GCC_VERSION instead
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:45 +01:00
Thomas Petazzoni
3f90a29baf gcc: remove support for external source toolchains
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:44 +01:00
Thomas Petazzoni
636afc4664 gcc: improve configuration for snapshot versions
Make the selection of a snapshot version a normal gcc version choice,
and make sure BR2_GCC_VERSION is properly defined.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:44 +01:00
Thomas Petazzoni
5c6ccd9f20 gcc: on avr32, only allow avr32 gcc versions
Remove references to BR2_EXT_GCC_VERSION_* configuration options, and
only allows special avr32 gcc versions on the AVR32 architecture.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:43 +01:00
Thomas Petazzoni
3a24927a0e uclibc: add avr32 special version
* Add a new 0.9.30-avr32-2.1.5 version of uClibc in Config.in

 * Add a patch for 0.9.20-avr32-2.1.5

 * Select a different UCLIBC_SITE for avr32 versions in uclibc.mk

 * Add the LINKRELAX=y configuration option to the uClibc .config file
   in uclibc.mk

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:43 +01:00
Thomas Petazzoni
9f21bfee08 gdb: add avr32 special verson
* Add a new gdb version for AVR32 in Config.in

 * Use a special mirror for this gdb version in gdb.mk

 * Do not try to apply patches when the patch directory does not exist
   in gdb.mk

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:43 +01:00
Thomas Petazzoni
9e172b3f91 gcc: add 4.2.2-avr32-2.1.5 patches
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:42 +01:00
Thomas Petazzoni
d3f383b1ee gcc: add avr32 special version
* Add new gcc version 4.2.2-avr32-2.1.5 in Config.in

 * Select the Atmel mirror to download gcc with avr32 in their version
   name, in gcc-uclibc-*.mk

 * Do not apply patches if the patch directory is empty, in
   gcc-uclibc-*.mk

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:42 +01:00
Thomas Petazzoni
f184806032 binutils: add avr32 special version
* Add a new binutils version 2.18-avr32-1.0.1 to the Config.in

 * Use a different site to download avr32 binutils version in binutils.mk

 * Only apply patches from the patch directory if it exists in
   binutils.mk

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:42 +01:00
Thomas Petazzoni
48fbdaaea6 gcc: remove hurd specific details
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:45:59 +01:00
Peter Korsgaard
8bbb56dd91 kernel-headers: bump 2.6.31.x / 2.6.32.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-14 21:14:46 +01:00
Peter Korsgaard
b06c9cb16c gcc: native toolchain needs BR2_HAVE_DEVFILES
Native toolchain doesn't make much sense without include / .a files.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-11 23:55:17 +01:00
Peter Korsgaard
b7ed169692 kernel-headers: bump 2.6.27.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-09 08:36:41 +01:00
Peter Korsgaard
5c3817bb46 kernel-headers: bump 2.6.27.x / 2.6.31.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-08 21:43:53 +01:00
Gustavo Zacarias
09c181f289 Add pkgversion to gcc >= 4.3
Closes #765.

[Peter: change to check for !4.2.x instead]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-06 18:41:15 +01:00
Peter Korsgaard
79c9a433ed kernel-headers: make snapshot option more user friendly
Closes #751.

Make kernel headers snapshot more user friendly by making it more obvious
that it's about using a local kernel snapshot, and error out with a sensible
error message if the option is enabled but no linux-2.6.tar.bz2 is present
in DL_DIR, rather than trying to fetch it from kernel.org.

Furthermore fix the bug where it tried to use linux-2.6..tar.bz2 instead of
linux-2.6.tar.bz2.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-06 15:54:03 +01:00
Peter Korsgaard
0a9c205c98 binutils: get rid of ancient versions
Get rid of 2.17.50.0.17, 2.18.50.0.{1,3,6,8}.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-04 20:55:37 +01:00
Peter Korsgaard
fdc8e6b915 binutils: default to 2.20, mark 2.19 as deprecated
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-04 20:53:15 +01:00
Peter Korsgaard
acc75665e5 toolchain: get rid of unused gcc 3.x legacy handling
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-04 20:34:03 +01:00
Gustavo Zacarias
ba4183bc82 Add binutils 2.20
Closes #761.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-04 16:50:40 +01:00
Peter Korsgaard
89b9188aa0 kernel-headers: 2.6.32 needs scsi.h fix like 2.6.31
Reported by Emmanuel Blot <eblot.ml@gmail.com>

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-04 14:25:08 +01:00
Peter Korsgaard
1d49de8116 kernel-headers: bump 2.6.30.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-04 09:35:30 +01:00
Peter Korsgaard
edee1d78ab kernel-headers: fix 2.6.32 typo
Thanks to Joachim Pihl for noticing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-03 19:05:34 +01:00
Peter Korsgaard
b80b4051dc kernel-headers: add 2.6.32
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-03 11:47:38 +01:00
Peter Korsgaard
c589012eec kernel-headers: 2.6.31.6 fix for scsi/* headers
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-28 14:10:00 +01:00
Peter Korsgaard
b71951b0e7 toolchain/binutils: make sure target-binutils runs after busybox
Closes #597

Ensure that binutils-target runs after busybox if enabled, so it can
overwrite the busybox symlink for ar if that applet is enabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-22 21:25:31 +01:00
Peter Korsgaard
09d62e89e7 toolchain/uClibc: install ldd to target
Reported by Julien Boibessot <julien.boibessot@free.fr>.

This somehow got disabled by cb815ae003 (two years ago!).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-17 17:37:11 +01:00
Peter Korsgaard
d88b812d76 kernel-headers: bump 2.6.27.x/2.6.31.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-10 08:37:36 +01:00
Peter Korsgaard
b18b46ebee uclibc: add unifdef getline fix to avr32 variant as well
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-09 23:25:17 +01:00
Peter Korsgaard
13e753b414 toolchain: select sensible floating point mode by default
Introduce BR2_PREFER_SOFT_FLOAT and enable it for arm, avr32 and mips,
and use it to enable soft float support by default for those archs.

This way people automatically get the correct floating point mode when
running make menuconfig for the first time (E.G. without a .config) and
changing the arch from i386 to arm/avr32/mips.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-09 14:53:04 +01:00
Peter Korsgaard
9af188d883 toolchain/gcc: get rid of ancient 3.4.6 / 4.0.4 versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-29 21:11:28 +01:00
Peter Korsgaard
1eb391c500 toolchain/gcc: simplify BR2_GCC_SUPPORTS_* logic
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-29 15:44:52 +01:00