summaryrefslogtreecommitdiff
path: root/toolchain
AgeCommit message (Collapse)Author
2011-09-20dependencies: add rsync as a required dependencyThomas Petazzoni
rsync can now be used for overriden package, and will also be used for other purposes in the future (optimization of toolchain copy time, etc.). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-20kernel-headers: fix 3.0 header exports for headers with __packedPeter Korsgaard
Fixes E.G. mtd/ubi-user.h, which otherwise breaks busybox 1.9 builds with ubi applets. Upstream post 3.0 and discussed here: https://lkml.org/lkml/2011/6/22/25 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-17support: move package/gnuconfig to support/gnuconfigThomas Petazzoni
The CONFIG_UPDATE macro is no longer defined in package/gnuconfig/gnuconfig.mk, but instead in package/Makefile.autotools.in. It it also changed a little bit to take the directory of the package sources as argument, and the AUTOTARGETS infrastructure is updated to use this macro. [Peter: drop echo in CONFIG_UPDATE] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-17support: move patch-kernel.sh and rename itThomas Petazzoni
The name "patch-kernel.sh" is a bit stupid, since this script is used to patch everything in Buildroot, not only kernel trees. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13uClibc: add patches to unbreak 0.9.32 on powerpc e500Peter Korsgaard
Patches from Jason Woodward, posted on the uClibc list back in July. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-12ext-toolchain: fix download urlSubramaniam C.A
The website for downloading the toolchain has changed from http://www.codesourcery.com to http://sourcery.mentor.com Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-31kernel-headers: bump 3.0.x stable versionSven Neumann
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-29Fix the CodeSourcery ARM 2009q3 toolchain useMaxime Ripard
The prefix is not set when selecting this toolchain, resulting in a build failure. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-28toolchain/crosstool-NG: fix bundled config filesYann E. MORIN
Bundled config files have architecture-specific values in them, which may break if buildroot is configured with another architecture that does not forcibly set these option. For example, the bundled config files are for x86_64, and define: CT_ARCH_TUNE="generic" This comes from the BR2_GCC_TARGET_TUNE config option (in buildroot) that is set accordingly to the selected (arch,sub-arch). But if someone configures buildroot for, say, generic ARM, then the BR2_GCC_TARGET_TUNE config option is not set, and the crosstool-NG backend Makefile believes it should not be pushed down to the crosstool-NG config file. BUT... The crosstool-NG backend Makefile can not forcibly push BR2_GCC_TARGET_TUNE down to the CT-NG config file. If BR2_GCC_TARGET_TUNE is empty, the user can still set CT_ARCH_TUNE by running ctng-menuconfig. The backend Makefile already passes such values only if they are set. In the end, we can't push options as-is to the crosstool-NG config, but we MUST provide sane bundled config files, which this patch does. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-22kernel-headers: bump 3.0.x stable versionSven Neumann
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-16uClibc: disallow 0.9.32 on shPeter Korsgaard
Build breaks during final uClibc build with 0.9.32. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-15uClibc: disallow 0.9.32 on avr32Peter Korsgaard
Build breaks during gcc-intermediate step with 0.9.32. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-08kernel-headers: bump 3.0.x stable versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-07toolchain/crosstool-NG: update bundled config filesYann E. MORIN
Update the crosstool-NG libc-specific config files to match the new set of options coming with the updated crosstool-NG. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-07toochain/crosstool-NG: bump versionYann E. MORIN
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04toolchain-external: fix some typos CodeSoucery -> CodeSourceryThomas De Schampheleire
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04external toolchains: fix SuperH toolchain configurationThomas Petazzoni
The CodeSourcery toolchain for SH2-A platforms provide largefile support, inet RPC, wide char and threads, so adjust the configuration accordingly. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04kernel-headers: bump 2.6.35.x / 2.6.39.x stable versionsPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-29toolchain/helpers.mk: unbreak check_glibc after PROGRAM_INVOCATION removalPeter Korsgaard
As noticed by Thomas Petazzoni on IRC. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-27uClibc: drop BR2_PROGRAM_INVOCATION optionPeter Korsgaard
Remove the BR option and enable the configuration setting in the uClibc defconfigs. The BR2_PROGRAM_INVOCATION option only adds very little overhead to uClibc, and we have a number of packages needing it, so simply always enable it - Simplifying the kconfig logic and the number of choices users have to make. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-26toolchain-external: sync toolchain options with the internal toolchainPeter Korsgaard
The internal toolchain defaults to thread support enabled (and most external toolchains have thread support as well), so enable BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS by default. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-25toolchain: add user defined target LDFLAGS optionsBaruch Siach
Allow the user to specify additional options for the target LDFLAGS. I use this to pass the -te500v2 option to the linker, when using the CodeSourcery toolchain for PowerPC. This chooses the correct CRT for e500 hard float. Otherwise I get errors like undefined reference to `_save32gpr_31' undefined reference to `_rest32gpr_31_x' at final link time. [Peter: fixup, use qstrip] Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-22kernel-headers: add 3.0Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-18sh: Fix Buildroot sh targets to match gnuconfig targetsPhil Edworthy
sh2eb and sh2a_nofpueb gnuconfig targets are no longer supported in Buildroot. This patch replaces these Buildroot targets with sh2 and sh2a respectively, and adds sh4a targets as these are widely used. To build for devices without an fpu, the relevant toolchain flags will have to be specified. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-18toolchain-buildroot: NPTL is only supported with EABI on ARMPeter Korsgaard
So hide option if OABI is selected. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-15toolchain/crosstool-NG: use the package infrastructureYann E. MORIN
Move crosstool-NG to package/ and make it an autotarget package. This requires a new patch (now upstream). Now, the crosstool-NG toolchain backend only contains enough to build the toolchain, there's no more reference to building crosstool-NG as a package. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-13toolchain-external: download/show external toolchain with make ↵Peter Korsgaard
source/external-deps Based on patch by Hervé Fache <h-fache@ti.com>. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-13toolchain/crosstool-ng: allow pre-downloading the sourcesYann E. MORIN
On "make source", just download the required sources, and do not build the entire toolchain. This requires a new patch against crosstool-NG (got from upstream). The "uclibc-source" rule requires an installed and configured crosstool-NG, so it has to be after the variables declaration. For consistency, move down the main rule "uclibc". Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-12sh: Add SH2A CodeSourcery external toolchainPhil Edworthy
Added the CodeSourcery uCLinux/uClibc toolchain for the SH2A big endian devices. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10kernel-headers: bump 2.6.39.x stable versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-07uClibc: fix 0.9.32 build on x86Peter Korsgaard
Patch from uClibc git. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-05toolchain/uClibc: NPTL needs i486+ for cmpxchgl instructionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-04toolchain/uClibc: remove 0.9.29, mark 0.9.30 as deprecatedPeter Korsgaard
0.9.29 doesn't seem to build anymore with the toolchain versions in BR and is very old, so remove it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-28toolchain/gcc: bump 4.6.x version to 4.6.1Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-28toolchain/gcc: bump 4.3.x version to 4.3.6Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-24kernel-headers: bump 2.6.39.x stable versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-22ext-toolchain-wrapper.c: Handle an arbitrary amount of argumentsDaniel Nyström
Even though MAXARGS 1000 seems large, it wasn't enough for at least QtWebKit package. This new version does not have any predefined limits. Closes #3907 Many thanks to Thomas for tracing the source of the build error. [Peter: Return rather than abort()] Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se> Reported-by: Thomas Björk <thomas.bjork@home.se> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-12toolchain: introduce BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDSThomas Petazzoni
Unfortunately, the official Blackfin toolchains are built without the shadow password support, so our default Busybox configuration fails to build. Therefore, we introduce a new hidden knob BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS, which is set to yes for Buildroot internal toolchain, for toolchains generated by the Crosstool-NG backend, for Glibc external toolchains and for Uclibc custom external toolchains. It is left unset by the Blackfin toolchain profile. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-12blackfin: support external toolchains provided by blackfin.uclibc.orgThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-09uClibc: use NPTL by default for 0.9.32 / snapshotPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-09kernel-headers: add 2.6.39.x, use as defaultPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-09kernel-headers: bump 2.6.38.x versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-09uClibc: bump 0.9.32 version, use as defaultPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-09uClibc: bump 0.9.31.x versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-23ext-toolchain: fix download url / add cs 2009q3Klaus Schwarzkopf
* fixed: external toolchain CODESOURCERY ARM2009Q1 downloaded version ARM2009Q3 * add CODESOURCERY ARM2009Q1 for ti dvsdk 3.10. Signed-off-by: Klaus Schwarzkopf <schwarzkopf@sensortherm.de> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-22kernel-headers: bump 2.6.38.x stable versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-22toolchain/crosstool-NG: fix up ct-ng config file to saner defaultsYann E. MORIN
Peter on IRC reported some build failures for different targets. They were of two kinds: - missing/unknown stack unwinding support - missing *_chk functions The first is about configure not being able to automagically determine if stack unwinding support is available for the target. The second is about fortified build forgetting to build the fortified functions. This applies to both glibc and eglibc. After some discussions on IRC with Jacmet, it appears that we can safely assume both of the following: - virtually all targets of buildroot will have stack unwinding support - we do not care about fortified builds (so far) So, update the bundled crosstool-NG .config file to saner defaults: - force unwind support - disable fortified builds [Peter: fix 'force non-fortified build' sed invocation] Reported-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-22toolchain/crosstool-NG: update to 1.11.3Yann E. MORIN
1.11.3 is the latest stable version, and it has a few improvements we'll find usefull. For example, it hasa a boolean option for disabling the {,e}glibc fortified build (instead of requiring us to shoehorn it in extra cflags. Update the config files. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-22toolchain/crosstool-NG: bundle one CT-NG config file for each libc famillyYann E. MORIN
Currently, the bundled CT-NG config file has no C library configured. It is quite complex to add and/or munge options in this case. Now, with one config file per libc familly, it becomes easier. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-15gcc: remove references to arm-softfloat.patch.conditionalThomas Petazzoni
The arm-softfloat.patch.conditional patches are no longer in Buildroot since 9af188d883b2657bd967e6621011d4bbe1bb3441 (October 2009), which removed support for gcc 3.x and 4.0.x. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>