Commit Graph

1131 Commits

Author SHA1 Message Date
Thomas Petazzoni
4bcefe826b target/cpio: cleanup
* Remove the dependency on BR2_HOST_FAKEROOT, since we don't have
   config option for host tools.

 * Remove a few useless things.

 * Check that cpio is available on the host in
   toolchain/dependencies/dependencies.sh.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:32 +02:00
Gustavo Zacarias
633049d800 Enable e300c2, e300c3 and e500mc powerpc optimizations
Closes #1513

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-08 13:16:13 +02:00
Yann E. MORIN
6db57c6936 toolchain: fix using external toolchains built with buildroot
The toolchains built with buildroot use specially crafted paths for their
sysroot and prefix. Fix that by asking gcc where it finds a file we
know by relative path to the sysroot.

This has the side effect of greatly simplifying the sysroot detection
in every cases tested so far (BR toolchains, CT-NG toolchains, and
CodeSourcery toolchains).

Fixes bug #851.

Thanks Thomas Petazzoni for the hint and some testings.
Thanks Grant Edwards for the report and the comments.

Signed-off-by: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-07 09:49:20 +02:00
Peter Korsgaard
3e7de2af67 kernel-headers: add 2.6.33 scsi fix, tweak 2.6.31/32 patches
The last hunk was in a KERNEL ifdef, so not needed.

Fixes udev scsi-id build.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-07 09:15:34 +02:00
Peter Korsgaard
d5b0bb4bc8 dependencies: we need tar and wget as well
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-06 16:40:42 +02:00
Peter Korsgaard
eb1cd08a9b uClibc: 0.9.31 dnslookup use after free fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-06 15:37:14 +02:00
Peter Korsgaard
6cdcc4d7d8 gcc: hide shared libgcc option if BR2_PREFER_STATIC_LIB is enabled
Shared libgcc without shared libs doesn't make much sense.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-05 13:48:10 +02:00
Peter Korsgaard
c95174a8df uclibc: don't install libs to target if BR2_PREFER_STATIC_LIB
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-05 13:44:47 +02:00
Peter Korsgaard
266fa65afb toolchain: add uClibc 0.9.31, mark 0.9.30.x as recent
Enable susv3/susv4 legacy support for now, as a lot of packages (E.G.
busybox) breaks with the stricter interpretation in 0.9.31.
Also slightly tweak uclibc.mk as the "new" linuxthreads symbol changed.

Test built on x86/x86-64/ppc/arm/mips.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-05 10:47:54 +02:00
Will Wagner
17541bd0ec uclibc: Fix for improper copying of kernel headers
Closes #1219

Signed-off-by: Will Wagner <will_wagner@carallon.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-03 10:30:53 +02:00
Peter Korsgaard
0c7090f189 kernel-headers: bump 2.6.{27,31,32,33} stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-02 09:28:07 +02:00
Yann E. MORIN
3b7aee23f2 external toolchain: fix sysroot location if the toolchain was moved
Sysrooted toolchain can be relocated. In this case, the sysroot is no
longer located at the place it was configured at.

Signed-off-by: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
Acked-By: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-31 10:50:40 +02:00
Peter Korsgaard
f220498f4b get rid of broken nios2 support
Has been marked as broken for more than 1 year, with no indication
that anyone cares, and it needs a bunch of special handling.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-30 17:19:59 +02:00
Peter Korsgaard
8628082b83 binutils: simplify BINUTILS_SITE selection
All versions are available on gnu.org.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-30 17:05:02 +02:00
Peter Korsgaard
8c19cfef37 binutils: get rid of ancient 2.18.50.0.9 development version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-30 17:04:23 +02:00
Peter Korsgaard
9cca84cd07 binutils: default to 2.20.1, mark 2.19.1 as deprecated
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-30 16:50:45 +02:00
Gustavo Zacarias
5c36fdfe84 binutils: add 2.20.1
Closes #1441

[Peter: use gnu.org upstream]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-30 16:47:03 +02:00
Peter Korsgaard
9c60dfa06d kernel-headers: bump 2.6.32.x / 2.6.33.x versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-15 21:18:56 +01:00
Peter Korsgaard
9d3e9e0f2c kernel-headers: remove obsolete openswan support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-14 21:36:24 +01:00
Peter Korsgaard
fb0e64d510 kernel-headers: get rid of ancient 2.6.26 version
And remove the -rt support we had for that version.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-14 21:36:05 +01:00
Peter Korsgaard
ad4e0c152d kernel-headers: default to 2.6.33
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-14 08:26:39 +01:00
Peter Korsgaard
b00a1a70b5 toolchain: add 2.6.33 kernel headers
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-12 23:18:05 +01:00
Peter Korsgaard
de859f6b2a toolchain: Add uClibc 0.9.30.3, remove older 0.9.30.x
As the 0.9.30.x stable releases only contain bugfixes, there isn't much
sense in using the older 0.9.30.x releases instead of .3, so use a single
0.9.30.x config similar to how we do it for the kernel headers.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-12 23:14:59 +01:00
Peter Korsgaard
f561763e91 gmp/mpfr: make sure host builds add source targets to HOST_SOURCE
Closes #1183.

When gmp/mpfr is needed for the host (E.G. when using an internal toolchain),
the host-lib{gmp,mpfr}-source targets weren't added to HOST_SOURCE, so
make source / external-deps didn't handle them.

Notice that we have the same issue with the new host package support,
there we should probably use HOST_<package>_DEPENDENCIES for -source
dependencies.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-25 17:27:50 +01:00
Thomas Petazzoni
a35d48f984 gcc on target: add missing definitions for gcc 4.4
Depending on the gcc version, the gcc include and lib directories have
changed. We include support for gcc 4.4 by copy/pasting the support
for gcc 4.3. Locations don't seem to have changed between 4.3 and
4.4. This allows the syslimits.h fixup to succeed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-25 09:47:01 +01:00
Peter Korsgaard
3c7e344c1b kernel-headers: bump 2.6.32.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-24 20:22:25 +01:00
Peter Korsgaard
4f05a61b33 Merge branch 'misc-fixes5' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-02-23 21:27:28 +01:00
Thomas Petazzoni
52fcd86f2b uclibc: do not allow the selection of NPTL if snapshot is not selected
In uClibc, NPTL support does not exist in the 0.9.30 branch, that we
are using in Buildroot. It is only available in the uClibc daily
snapshot, extracted from uClibc master branch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-23 21:06:54 +01:00
Thomas Petazzoni
58a45bf66b uclibc: do not allow the selection of NPTL if snapshot is not selected
In uClibc, NPTL support does not exist in the 0.9.30 branch, that we
are using in Buildroot. It is only available in the uClibc daily
snapshot, extracted from uClibc master branch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-23 20:34:57 +01:00
Thomas Petazzoni
496078a0a0 dependencies: add perl as a mandatory dependency
Now that we might happen to build libxml-parser-perl and intltool,
Perl becomes a mandatory dependency. This shouldn't be a problem since
most distributions install Perl by default anyway.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-23 20:34:32 +01:00
Thomas Petazzoni
a47ce9d3df dependencies: add gzip and bzip2 as base dependencies
They are needed to uncompress the tarballs we download. bzip2, for
instance, is not necessarly installed by default on basic Debian
systems.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-23 20:33:43 +01:00
Peter Korsgaard
43ffd946ad toolchain/uClibc: additional 0.9.30.2 patches
Everything on the 0_9_30 branch since the release (0.9.30.3 to be)

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-22 22:05:41 +01:00
Thomas Petazzoni
53f670ac06 ccache: remove cleanup of documentation
The cleanup of documentation is handled in a global way, in the main
Makefile.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-20 19:31:04 +01:00
Peter Korsgaard
d6bcd43dd7 kernel-headers: bump 2.6.32.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-18 14:35:10 +01:00
Thomas Petazzoni
2bf5840e57 Add patch to fix uClibc build failure with locale enabled
This patch fixes the undefined reference to `__iconv_codesets'
reported at
http://www.mail-archive.com/uclibc@uclibc.org/msg04970.html. The patch
has been taken from the upstream Git repository, and will be part of
uClibc 0.9.30.3. In the mean time, let's integrate it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-13 12:25:52 +01:00
Peter Korsgaard
7a72f7b0d9 toolchain/gdb: remove external source toolchain leftover
Commit 65e99014 (Remove external source toolchain options) removed
external source-based toolchain support, but there was still a check
for it in gdb.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-09 11:48:17 +01:00
Yann E. MORIN
4b74321195 toolchain/gdb: get rid of another legacy and unused variable
BR2_VENDOR_GDB_VERSION and VENDOR_GDB_VERSION are no longer settable.
The only user is gdb, and it's totally useless in this case.

Signed-off-by: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-09 11:44:20 +01:00
Yann E. MORIN
7dd0591183 toolchain/gdb: get rid of legacy & unused variables
The BR2_VENDOR_SUFFIX and VENDOR_SUFFIX variables are no longer settable.
The only user is gdb, and is totally useless in this case.

Signed-off-by: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-08 17:03:03 +01:00
Peter Korsgaard
ecc81fed2f toolchain: get rid of "binary" for external toolchain
We no longer have an option for external source based toolchains,
so get rid of "binary".

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-08 11:01:04 +01:00
Peter Korsgaard
b50b998d94 kernel-headers: bump 2.6.27.x / 2.6.32.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-29 10:59:52 +01:00
Peter Korsgaard
334544e0ac kernel-headers: bump 2.6.32.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-25 20:56:17 +01:00
Peter Korsgaard
becb7149a8 kernel-headers: bump 2.6.32.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-23 23:08:25 +01:00
Peter Korsgaard
6c26a600d0 toolchain/gcc: bump 4.4.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-23 23:07:50 +01:00
Peter Korsgaard
d77120e3de kernel-headers: bump 2.6.27.x / 2.6.31.x / 2.6.32.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-18 22:19:24 +01:00
Peter Korsgaard
6bfb4885b0 toolchain: add uclibc 0.9.30.2
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-15 14:48:08 +01:00
Peter Korsgaard
6327fbc8b6 kernel-headers: bump 2.6.27.x / 2.6.31.x / 2.6.32.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-07 21:44:40 +01:00
Peter Korsgaard
64c5a71325 kernel-headers: default to 2.6.32.x
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-01 22:30:42 +01:00
Peter Korsgaard
3f4575e66f kernel-headers: bump 2.6.27.x / 2.6.31.x / 2.6.32.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-20 20:16:09 +01:00
Thomas Petazzoni
e07e1b45f7 dependencies: cleanup
Factorize some of the tests done by
toolchain/dependencies/dependencies.sh (check for unset environment
variables and check for required programs).

Make the output less verbose by only showing something when something
is not present. Some messages were really silly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-16 08:33:38 +01:00
Thomas Petazzoni
84b1e44e92 dependencies: remove useless test doing nothing
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 21:09:53 +01:00