summaryrefslogtreecommitdiff
path: root/toolchain/Makefile.in
AgeCommit message (Collapse)Author
2011-01-02binutils: make it a proper packageGustavo Zacarias
* Convert binutils to a proper autotargets package * Add version 2.21 and drop version 2.17 * Hook up packaged binutils for target gcc * Build tools are on HOST_DIR now so change it * Move cross/host gcc to HOST_DIR * Drop kludge from commit 3c77bab2eeace3ee675bd745ca335fa3dd1630bb This is fixed in the next commit "gcc: install copies of libgcc, libstdc++ and libgcj to the sysroot" - tested for arm & x86_64 targets. * TARGET_CROSS now pointed to HOST_DIR too [Peter: Config.in tweaks] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-13toolchain: rework thread optionsThomas Petazzoni
The selection of linuxthreads, linuxthreads old or NPTL doesn't make a lot of sense for external toolchains. So, instead, we : * Introduce an hidden BR2_TOOLCHAIN_HAS_THREADS option, which must be selected by toolchain specific options when thread support is available. Package needing to test thread support should use this option. * Move the none/linuxthreads/linuxthreads old/NPTL selection to Buildroot internal toolchain configuration. * Add an option in external toolchain to tell if thread support is available or not in the external toolchain. We assume that glibc without threads is not possible, as Ulrich Drepper said in http://sourceware.org/ml/libc-alpha/2005-08/msg00091.html ffmpeg, dmalloc and openvpn are fixed to use the new BR2_TOOLCHAIN_HAS_THREADS option. For openvpn, --enable-threads=posix is no longer used, as the configure script doesn't even understand this option. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-28toolchain: remove multilibThomas Petazzoni
Supporting multilib is much more than just passing --enable-multilib to gcc. You have to actually build the C library several times (once for each multilib variant you want to support in your toolchain), and to pass MULTILIB_OPTIONS/MULTILIB_EXCEPTIONS values to gcc to let it know the set of multilib variants you're interested in. Since we'll probably never support multilib toolchains in Buildroot, just get rid of this BR2_ENABLE_MULTILIB option. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27toolchain: Remove now-unused variablesThomas Petazzoni
The variable BR2_SYSROOT_STAGING_DESTDIR is no longer used, since now the prefix for gcc is already set to the correct location. The variable BR2_SYSROOT_TARGET_DESTDIR was already unused. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-07Rework sysroot option handlingThomas Petazzoni
The external toolchain and internal toolchain cases both need to use the --sysroot option, and they have almost identical LDFLAGS/CFLAGS/CXXFLAGS definition, so we can factorize these definitions. Moreover, the --isysroot option is implied by --sysroot so there's no need to specify both. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-15toolchain: remove gcc 4.1.2 and non-sysroot supportPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-11Get rid of the OPTIMIZE_FOR_CPU variableThomas Petazzoni
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>
2010-04-11Get rid of useless OpenMP related codeThomas Petazzoni
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>
2010-04-11Remove variables useless after BR2_PREFER_IMA removalThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-23rename TOOL_BUILD_DIR to TOOLCHAIN_DIRMichael Roth
To reflect the new output directory hierachy rename the Makefile variable TOOL_BUILD_DIR to TOOLCHAIN_DIR. Signed-off-by: Michael Roth <mroth@nessie.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-01-02toolchain: revert "Allow creating a script for external use of Buildroot ↵Peter Korsgaard
toolchain" It's been 10 days now without any reply from Ulf, so revert r24480+r24481.
2008-12-23toolchain: disable export-toolchain stuff as it breaks make dependenciesPeter Korsgaard
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-21Allow creating a script for external use of Buildroot toolchainUlf Samuelsson
2008-07-04Add prepatched AVR32 gcc-4.2.2 toolchain from www.atmel.no, move patch ↵Ulf Samuelsson
locations for prepatched toolchain to be under the toolchain directory
2007-09-28- add FC, remove some duplicate entries, cleanupBernhard Reutner-Fischer
- fixup after Ulf: CXX doesn't take CFLAGS but CXXFLAGS
2007-08-24Move VENDOR stuff to projectUlf Samuelsson
2007-08-21- add question for UlfBernhard Reutner-Fischer
2007-07-31Add support for prepatched toolchainsUlf Samuelsson
2007-06-20- add OPENMP configure handling (needed for e.g. gettext).Bernhard Reutner-Fischer
2007-06-20- add full sysroot support for non-ancient toolchains.Bernhard Reutner-Fischer
- start to separate usr/lib and lib to match normal system-layout
2007-06-01- add BR2_PREFER_STATIC_LIB config option to be able to select if we prefer ↵Bernhard Reutner-Fischer
to build static or dynamic libs/bins. - depending on the BR2_GNU_BUILD_SUFFIX, set the respective EXEEXT, LIBEXT, SHREXT extensions for use on the target. Thanks to Tom for suplying a diff which implements these.
2007-03-21- add CFLAGS_COMBINE checkBernhard Reutner-Fischer
2007-02-12- add cc-option and use it to check for stuff that is benefical for PREFER_IMABernhard Reutner-Fischer
- backport the libbackend.o gcov-iov.h dependency fixup from 4.2 to 4.0
2007-01-31- remove the '"install uClibc headers in the target filesystem" without a ↵Bernhard Reutner-Fischer
native compiler' option.
2007-01-21- provide means to "install uClibc headers in the target filesystem" without ↵Bernhard Reutner-Fischer
a native compiler
2006-04-14sync thread stuff with config.in as pointed out by mjn3Mike Frysinger
2005-10-01control pthread support since some arches like x86_64 dont yet support it in ↵Mike Frysinger
uClibc
2005-09-22pass --disable-multilib if user doesnt want multilib since some arches (like ↵Mike Frysinger
x86_64) default to multilib support
2005-02-10There is no need to have a separate 'Makefile.in' file in theEric Andersen
general case, therefore, combine the toplevel Makefile options such as setting TARGETS into the per-package *.mk file
2004-10-09Major buildroot facelift, step one.Eric Andersen
-Erik