summaryrefslogtreecommitdiff
path: root/toolchain
AgeCommit message (Collapse)Author
2008-12-15toolchain: use same gdb Config.in for internal/external toolchainsPeter Korsgaard
We used to use different gdb configs for internal and external toolchains because mconf won't source the same file twice. This works, but is kind of sub optimal, as people forget to keep them in sync. Fix it to use the same file for both situations by shuffling around the config options a bit. Should work identical to before (except for the newer gdb versions available for ext).
2008-12-13Another external toolchain support solutionThomas Petazzoni
* In toolchain/external-toolchain/ext-tool.mk, copy the contents of the sysroot directory to the staging dir. * In package/Makefile.in, add a --sysroot CFLAGS pointing to the staging dir * Remove the CFLAGS and LDFLAGS definition from TARGET_CONFIGURE_OPTS. I haven't investigated exactly why, but with these options, DirectFB fails to build because it cannot find PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP, even if DirectFB's Makefile properly sets -D_GNU_SOURCE. I have already sent this patch on December, 2nd to the mailing-list, but got no feedback. So let's commit and see what happens :-) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-12-10toolchain/kernel-headers: don't hide 2.6.27 if RECENT isn't enabledPeter Korsgaard
2008-12-09binutils: revert bad commit 24343Hans-Christian Egtvedt
This reverst the commit 24343, the original state was indeed correct. Blame goes to my bad sight and too hasty decisions.
2008-12-09binutils: fix typo for detecting if BINUTILS_NO_MPFR is not setHans-Christian Egtvedt
Make the ifndef check the actual variable, typo bug.
2008-12-08toolchain/kernel-headers: bump 2.6.27.x versionPeter Korsgaard
2008-12-08toolchain/gdb: 6.4 shouldn't be selectable for avr32Peter Korsgaard
2008-12-08toolchain/gdb: mark old versions as deprecatedPeter Korsgaard
2008-12-08toolchain/gdb: default to 6.8Peter Korsgaard
2008-12-08toolchain/: get rid of unneeded $(strip ..)Peter Korsgaard
2008-12-07uclibc: add RPC config variables to 0.9.30Peter Korsgaard
Add UCLIBC_HAS_{FULL,REENTRANT}_RPC config variables to the defconfig, so the sed invocation in uclibc.mk can set them to the proper values.
2008-12-07toolchain/gdb: add -source targetPeter Korsgaard
2008-12-05toolchain/binutils: add 2.19Peter Korsgaard
Based on 9cd8638d / b86af9a1 in Bernhard's tree.
2008-12-05toolchain/binutils/2.18.50.0.9: accept sh?-*-*Peter Korsgaard
Based on 3ed6c5b5 in Bernhard's tree.
2008-12-05toolchain/binutils/2.18.50.0.9: add patch for PR6878Peter Korsgaard
Based on b5451979 in Bernhard's tree.
2008-12-05toolchain/binutils: add 2.18.50.0.9Peter Korsgaard
Based on 713e7e46 in Bernhard's tree.
2008-12-05toolchain/binutils: add 2.18.50.0.8Peter Korsgaard
Based on 1c493ff1 in Bernhard's tree.
2008-12-05toolchain/binutils: add 2.18.50.0.6Peter Korsgaard
Based on 45b89c54 / beede0ba in Bernhard's tree.
2008-12-05toolchain/binutils: honour HAVE_MANPAGES / HAVE_INFOPAGESPeter Korsgaard
Based on b157db55 in Bernhard's tree.
2008-12-05toolchain/binutils: let make expand wildcards instead of the shellPeter Korsgaard
Based on f97ce837 in Bernhard's tree.
2008-12-05toolchain/binutils: add 2.18.50.0.3Peter Korsgaard
Based on b2b5d9f2 in Bernhard's tree.
2008-12-05toolchain/*: use CONFIG_UPDATEPeter Korsgaard
Based on e0e0945e in Bernhard's tree.
2008-12-01uclibc 0.9.30: defconfig: enable UCLIBC_HAS_LONG_DOUBLE_MATHPeter Korsgaard
2008-12-01uClibc: set 0.9.30 as defaultHans-Christian Egtvedt
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-12-01uClibc: add a default config for 0.9.30Hans-Christian Egtvedt
Courtesy Bernhard Reutner-Fischer GIT repository at http://repo.or.cz/w/buildroot.git Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-12-01uClibc: add uClibc 0.9.30 to kconfig and MakefileHans-Christian Egtvedt
This patch adds uClibc versino 0.9.30 to the list of selectable versions. The version identification for snapshot is also updated to reflect 0.9.30. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-11-30kernel-headers: bump 2.6.26.x / 2.6.27.x versionPeter Korsgaard
2008-11-30kernel-headers: also show 2.6.26 if deprecated is enabled, but recent isn'tPeter Korsgaard
2008-11-05kernel-headers: bump 2.6.26 and 2.6.27 minor versionsPeter Korsgaard
2008-11-03External toolchain C++ cross-compiler fixPeter Korsgaard
External toolchain C++ cross-compiler fix package/Makefile.in resets CXX to "" in TARGET_CONFIGURE_OPTS if BR2_GCC_CROSS_CXX is not set to 'y'. However, when using an external toolchain, BR2_GCC_CROSS_CXX is not set even if the toolchain has a C++ cross-compiler. This patch adds a new BR2_GCC_CROSS_CXX option in the external toolchain configuration menu, so that just like BR2_INET_RPC, BR2_INET_IPV6 and the others, it can be set according to the external toolchain configuration. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-11-03More external toolchain fixesPeter Korsgaard
Fix issues with binary external toolchains Fix two problems encountered while using an external binary toolchain generated by crosstool-ng: - Don't remove the ending / in LIB_DIR, otherwise find $LIB_DIR -maxdepth 1 doesn't find any file in the case LIB_DIR is a symbolic link and not a directory. For some reason, find -maxdepth 1 doesn't have the same behaviour on directories and symbolic links. Demonstration: $ mkdir foobar $ touch foobar/t1 $ touch foobar/t2 $ ln -s foobar barfoo $ find foobar -maxdepth 1 -name 't*' foobar/t1 foobar/t2 $ find barfoo -maxdepth 1 -name 't*' $ find barfoo/ -maxdepth 1 -name 't*' barfoo/t1 barfoo/t2 * Make sure the libraries are writable, otherwise the strip operation might fail. The library files may not be writable if the toolchain is not writable (which may happen if one wants to prevent anyone from overwriting the toolchain, which is done by crosstool-ng, for example). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-11-03External toolchain support improvementsPeter Korsgaard
Improve external toolchain support * Do not put kernel-headers in the dependencies of BASE_TARGETS in the case where BR2_TOOLCHAIN_SOURCE is not y. The kernel headers are already supposed to be part of the external toolchain, so there's no need to download, extract and install them. * In the configuration system, don't display the kernel headers version selection list when an external toolchain is selected. This is implemented by moving the source "toolchain/kernel-headers/Config.in" inside the if BR2_TOOLCHAIN_SOURCE in toolchain/Config.in.2. * Change the description and help message of the BR2_LARGEFILE, BR2_INET_IPV6, BR2_INET_RPC, and BR2_SOFT_FLOAT option in toolchain/external-toolchain/Config.in. In the case of an external toolchain, the semantic of these options is not to enable large file support, IPV6 or RPC (since the toolchain is already compiled, it has been decided previously). Their semantic is to let Buildroot know about the characteristics of the external toolchain being used. As an improvement, we could guess these values automatically: - for BR2_LARGEFILE, look at the value of __UCLIBC_HAS_LFS__ in bits/uClibc_config.h in the libc headers directory. - for BR2_INET_RPC, look at the value of __UCLIBC_HAS_RPC__ in the same file - for BR2_INET_IPV6, look at the value of __UCLIBC_HAS_IPV6__ in the same file - for BR2_SOFT_FLOAT, look at the output of $(CC) -v 2>&1 | grep -- "--with-float=soft" But I'm not sure how this would be possible, since these values are used at configuration-time by other configuration options, not only at build time. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-10-312 gcc patches from Atmel's buildrootArnar Mar SigurĂ°sson
2008-10-26toolhain/: confgure: respect quiet optionPeter Korsgaard
2008-10-24kernel-headers: bump 2.6.25, 2.6.26 and 2.6.27 minor versionsPeter Korsgaard
2008-10-20toolchain/uclibc: brown paper bag fix for r23746Peter Korsgaard
So much for doing one more "obvious" fix before going home - Sorry everyone.
2008-10-20toolchain/uclibc: only use make install_headers for 0.9.29+Peter Korsgaard
0.9.28.3 doesn't have install_headers, so use install_dev there. Got broken by r23561.
2008-10-17Typo fix in toolchain/external-toolchain/ext-tool.mkPeter Korsgaard
From: Grant Likely <grant.likely@secretlab.ca> Comment block header documentation typo
2008-10-10kernel-headers: bump 2.6.25.x / 2.6.26.x versionsPeter Korsgaard
2008-10-10kernel-headers: add 2.6.27Peter Korsgaard
And mark 2.6.26 as recent, 2.6.25 as deprecated while we're at it.
2008-10-07uclibc: fix path to ARCH_CFLAGS when compiling the test suiteHans-Christian Egtvedt
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-07uclibc: add kconfig option and make stuff for installing the uClibc test suiteHans-Christian Egtvedt
This patch adds the possibility to install the uClibc test suite to the target file system. This is useful if you need to debug or test your uClibc. The option is defaulted to no, and is not needed for a normal running Linux system. The test suite is installed to /root/uClibc Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-06ccache:Wade Berrier
-Don't show custom location dir if ccache isn't selected.
2008-10-06ccache:Wade Berrier
-Allow user to specify custom ccache location. This allows you to build a toolchain and put it on an nfs share so other people can use the toolchain without errors about the ccache dir missing.
2008-10-02gcc: make installation of shared libraries multi-project safeHans-Christian Egtvedt
This patch modifies the rule for installing the shared libraries into the project_foo/.../autotools-stamps directory. This will make the installation of GCC shared libraries be multi-project safe. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-02gcc: make sure that /usr/lib exists on target before installing shared libsHans-Christian Egtvedt
On very lite systems the /usr/lib directory might not exist before libstdc++ is installed. This patch makes sure the directory exists. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-02kernel-headers: remove whitespace damageHans-Christian Egtvedt
2008-09-30uclibc: install headers after building headers in configure partHans-Christian Egtvedt
This patch will run "make headers install_headers" instead of the old "make headers install_dev". The latter requires a cross compiler available in uClibc versions > 0.9.29, and the cross compiler is not available at the configuration time of uClibc. Spotted and fixed by Bernhard Fischer. Tested-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-09-04Applied change from Ben Nizette and Hans-Christian Egtvedt toHamish Moffatt
correctly detect version of gcc on recent distros. Supplied patch was against git and didn't apply cleanly to svn, so applied by hand.
2008-08-24toolchain/gdb: unbreak target gdb supportPeter Korsgaard
r22624 (Ulf: Add prepatched AVR32 gcc-4.2.2 toolchain) broke target gdb support as it tries to apply gdb patches twice. Unbreak it. Closes #3954.