Commit Graph

1108 Commits

Author SHA1 Message Date
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
Thomas Petazzoni
8dba09de9d dependencies: bail out if makeinfo isn't found
makeinfo is mandatory at least to build a toolchain. Currently,
dependencies.sh doesn't fail if makeinfo is not present and only
displays a message that can easily be lost. The user will then
encounter the issue later, when it is more difficult to understand
what's happening.

So, this patch simply does for makeinfo what the script does for the
other dependencies: bail out if they aren't available.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 21:03:50 +01:00
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