summaryrefslogtreecommitdiffstats
path: root/toolchain
Commit message (Collapse)AuthorAgeFilesLines
* external-toolchain: support libraries outside of /libThomas Petazzoni2010-04-171-10/+13
| | | | | | | | | | | | | The copy_toolchain_lib_root function was making the assumption that all libraries were stored inside the /lib directory of the sysroot directory. However, this isn't true for certain toolchains, particularly for the libstdc++ library. The function is therefore reworked to find the library and its related symlink either in /lib or /usr/lib in the sysroot, and copies it at the same location in the target directory. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Get rid of all usages of BR2_RECENTThomas Petazzoni2010-04-124-5/+0
| | | | | | | | | | | | Since BR2_RECENT was enabled by default, we do not want entries marked BR2_RECENT (and thus appearing by default in Buildroot) to disappear. Therefore, all the entries marked BR2_RECENT are converted as non-deprecated. We can later decide, on a per-entry basis, to add BR2_DEPRECATED to some of them. But at least, this commit doesn't change the default current behaviour of Buildroot. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Get rid of the OPTIMIZE_FOR_CPU variableThomas Petazzoni2010-04-111-3/+0
| | | | | | | | | | | | | | | This variable, together with the FIXME comment, has been added has part of Eric Andersen's « Major buildroot facelift, step one » commit that occured in October 2004. Since then, no real usage has been made of OPTIMIZE_FOR_CPU, and the initial intention has probably been lost in the memories of the implementors. Therefore, get rid of the variable, and just use $(ARCH) at the two locations the variable was used. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Get rid of useless OpenMP related codeThomas Petazzoni2010-04-111-7/+0
| | | | | | | | | | It seems that there was an intention to add BR2_ENABLE_OPENMP someday, but it was in June 2007 (commit c81807a9d71fba9f35eeb7e3f3b56bda4b2e0edd) and since then, nothing occured. Therefore, get rid of this code, and just pass --disable-openmp to gettext to keep the current behaviour. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Remove variables useless after BR2_PREFER_IMA removalThomas Petazzoni2010-04-111-4/+0
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Remove BR2_ENABLE_LOCALE_PREGENERATEDThomas Petazzoni2010-04-112-30/+1
| | | | | | | | The option is marked broken since october 2009, and even the uClibc configuration help text says that using pregenerated locales is highly discouraged. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Do not let packages remove man pages, info pages and documentationThomas Petazzoni2010-04-111-7/+1
| | | | | | | | | | The cleanup of $(TARGET_DIR)/usr/share/man, $(TARGET_DIR)/usr/man, $(TARGET_DIR)/usr/share/info, $(TARGET_DIR)/usr/info, $(TARGET_DIR)/usr/share/doc and $(TARGET_DIR)/usr/doc is already done globally in the main Makefile. Therefore, there's no need to handle that on a per-package basis. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Remove BR2_PREFER_IMAThomas Petazzoni2010-04-111-4/+0
| | | | | | | This option is barely used, no-one is maintaining it or extending it. So let's remove it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* target/cpio: cleanupThomas Petazzoni2010-04-091-1/+1
| | | | | | | | | | | | * 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>
* Enable e300c2, e300c3 and e500mc powerpc optimizationsGustavo Zacarias2010-04-081-0/+6
| | | | | | | Closes #1513 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: fix using external toolchains built with buildrootYann E. MORIN2010-04-071-8/+1
| | | | | | | | | | | | | | | | | | | 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>
* kernel-headers: add 2.6.33 scsi fix, tweak 2.6.31/32 patchesPeter Korsgaard2010-04-073-58/+59
| | | | | | | | The last hunk was in a KERNEL ifdef, so not needed. Fixes udev scsi-id build. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dependencies: we need tar and wget as wellPeter Korsgaard2010-04-061-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc: 0.9.31 dnslookup use after free fixPeter Korsgaard2010-04-061-0/+36
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gcc: hide shared libgcc option if BR2_PREFER_STATIC_LIB is enabledPeter Korsgaard2010-04-051-0/+1
| | | | | | Shared libgcc without shared libs doesn't make much sense. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uclibc: don't install libs to target if BR2_PREFER_STATIC_LIBPeter Korsgaard2010-04-051-0/+3
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: add uClibc 0.9.31, mark 0.9.30.x as recentPeter Korsgaard2010-04-053-2/+268
| | | | | | | | | | 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>
* uclibc: Fix for improper copying of kernel headersWill Wagner2010-04-031-39/+0
| | | | | | | | 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>
* kernel-headers: bump 2.6.{27,31,32,33} stable versionsPeter Korsgaard2010-04-023-4/+4
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* external toolchain: fix sysroot location if the toolchain was movedYann E. MORIN2010-03-311-1/+8
| | | | | | | | | 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>
* get rid of broken nios2 supportPeter Korsgaard2010-03-309-8058/+20
| | | | | | | 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>
* binutils: simplify BINUTILS_SITE selectionPeter Korsgaard2010-03-301-19/+2
| | | | | | All versions are available on gnu.org. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* binutils: get rid of ancient 2.18.50.0.9 development versionPeter Korsgaard2010-03-306-185/+0
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* binutils: default to 2.20.1, mark 2.19.1 as deprecatedPeter Korsgaard2010-03-301-2/+3
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* binutils: add 2.20.1Gustavo Zacarias2010-03-306-0/+119
| | | | | | | | Closes #1441 [Peter: use gnu.org upstream] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 2.6.32.x / 2.6.33.x versionsPeter Korsgaard2010-03-152-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: remove obsolete openswan supportPeter Korsgaard2010-03-141-4/+0
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: get rid of ancient 2.6.26 versionPeter Korsgaard2010-03-143-82/+0
| | | | | | And remove the -rt support we had for that version. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: default to 2.6.33Peter Korsgaard2010-03-141-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: add 2.6.33 kernel headersPeter Korsgaard2010-03-121-1/+6
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: Add uClibc 0.9.30.3, remove older 0.9.30.xPeter Korsgaard2010-03-1234-2683/+2
| | | | | | | | 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>
* gmp/mpfr: make sure host builds add source targets to HOST_SOURCEPeter Korsgaard2010-02-252-0/+2
| | | | | | | | | | | | | | 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>
* gcc on target: add missing definitions for gcc 4.4Thomas Petazzoni2010-02-251-0/+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>
* kernel-headers: bump 2.6.32.x versionPeter Korsgaard2010-02-242-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Merge branch 'misc-fixes5' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard2010-02-232-4/+1
|\
| * uclibc: do not allow the selection of NPTL if snapshot is not selectedThomas Petazzoni2010-02-231-0/+1
| | | | | | | | | | | | | | | | 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>
| * dependencies: add perl as a mandatory dependencyThomas Petazzoni2010-02-231-1/+1
| | | | | | | | | | | | | | | | 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>
| * dependencies: add gzip and bzip2 as base dependenciesThomas Petazzoni2010-02-231-1/+1
| | | | | | | | | | | | | | | | 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>
| * ccache: remove cleanup of documentationThomas Petazzoni2010-02-201-3/+0
| | | | | | | | | | | | | | The cleanup of documentation is handled in a global way, in the main Makefile. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | uclibc: do not allow the selection of NPTL if snapshot is not selectedThomas Petazzoni2010-02-231-0/+1
| | | | | | | | | | | | | | | | | | 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>
* | toolchain/uClibc: additional 0.9.30.2 patchesPeter Korsgaard2010-02-2213-0/+1062
|/ | | | | | Everything on the 0_9_30 branch since the release (0.9.30.3 to be) Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 2.6.32.x versionPeter Korsgaard2010-02-182-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add patch to fix uClibc build failure with locale enabledThomas Petazzoni2010-02-131-0/+153
| | | | | | | | | | 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>
* toolchain/gdb: remove external source toolchain leftoverPeter Korsgaard2010-02-091-4/+1
| | | | | | | | 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>
* toolchain/gdb: get rid of another legacy and unused variableYann E. MORIN2010-02-091-7/+5
| | | | | | | | 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>
* toolchain/gdb: get rid of legacy & unused variablesYann E. MORIN2010-02-081-1/+1
| | | | | | | | 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>
* toolchain: get rid of "binary" for external toolchainPeter Korsgaard2010-02-081-1/+1
| | | | | | | We no longer have an option for external source based toolchains, so get rid of "binary". Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 2.6.27.x / 2.6.32.x stable versionsPeter Korsgaard2010-01-292-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 2.6.32.x versionPeter Korsgaard2010-01-252-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 2.6.32.x versionPeter Korsgaard2010-01-232-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>