summaryrefslogtreecommitdiffstats
path: root/toolchain
Commit message (Collapse)AuthorAgeFilesLines
* External toolchain C++ cross-compiler fixPeter Korsgaard2008-11-031-0/+6
| | | | | | | | | | | | | | | | 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>
* More external toolchain fixesPeter Korsgaard2008-11-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* External toolchain support improvementsPeter Korsgaard2008-11-032-15/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* 2 gcc patches from Atmel's buildrootArnar Mar Sigurðsson2008-10-312-0/+181
|
* toolhain/: confgure: respect quiet optionPeter Korsgaard2008-10-265-0/+6
|
* kernel-headers: bump 2.6.25, 2.6.26 and 2.6.27 minor versionsPeter Korsgaard2008-10-241-2/+2
|
* toolchain/uclibc: brown paper bag fix for r23746Peter Korsgaard2008-10-201-6/+3
| | | | | So much for doing one more "obvious" fix before going home - Sorry everyone.
* toolchain/uclibc: only use make install_headers for 0.9.29+Peter Korsgaard2008-10-201-0/+4
| | | | | | 0.9.28.3 doesn't have install_headers, so use install_dev there. Got broken by r23561.
* Typo fix in toolchain/external-toolchain/ext-tool.mkPeter Korsgaard2008-10-171-1/+1
| | | | | | From: Grant Likely <grant.likely@secretlab.ca> Comment block header documentation typo
* kernel-headers: bump 2.6.25.x / 2.6.26.x versionsPeter Korsgaard2008-10-101-2/+2
|
* kernel-headers: add 2.6.27Peter Korsgaard2008-10-101-2/+8
| | | | And mark 2.6.26 as recent, 2.6.25 as deprecated while we're at it.
* uclibc: fix path to ARCH_CFLAGS when compiling the test suiteHans-Christian Egtvedt2008-10-071-1/+1
| | | | | Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
* uclibc: add kconfig option and make stuff for installing the uClibc test suiteHans-Christian Egtvedt2008-10-072-4/+47
| | | | | | | | | | | 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>
* ccache:Wade Berrier2008-10-061-3/+0
| | | | -Don't show custom location dir if ccache isn't selected.
* ccache:Wade Berrier2008-10-062-2/+13
| | | | | | | | -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.
* gcc: make installation of shared libraries multi-project safeHans-Christian Egtvedt2008-10-022-7/+10
| | | | | | | | | 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>
* gcc: make sure that /usr/lib exists on target before installing shared libsHans-Christian Egtvedt2008-10-022-0/+2
| | | | | | | | 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>
* kernel-headers: remove whitespace damageHans-Christian Egtvedt2008-10-021-2/+2
|
* uclibc: install headers after building headers in configure partHans-Christian Egtvedt2008-09-301-1/+1
| | | | | | | | | | | | 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>
* Applied change from Ben Nizette and Hans-Christian Egtvedt toHamish Moffatt2008-09-041-2/+4
| | | | | | correctly detect version of gcc on recent distros. Supplied patch was against git and didn't apply cleanly to svn, so applied by hand.
* toolchain/gdb: unbreak target gdb supportPeter Korsgaard2008-08-241-5/+1
| | | | | | | 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.
* gcc: only use -mfloat-abi for ARM, use -msoft-float for other archsPeter Korsgaard2008-08-221-0/+4
| | | | Patch by Wade Berrier.
* kernel-headers: rename aout patch so it gets applied to 2.6.25.15Peter Korsgaard2008-08-191-0/+0
| | | | Needed by valgrind.
* kernel-headers: bump 2.6.25.x / 2.6.26.x versionsPeter Korsgaard2008-08-191-2/+2
|
* ccache: expand help textPeter Korsgaard2008-08-041-2/+7
|
* ccache: cleanup configure args and respect BR2_HAVE_MANPAGESPeter Korsgaard2008-08-041-10/+3
|
* ccache: also remove target symlinks on cleanPeter Korsgaard2008-08-041-1/+2
|
* ccache: cleanup configPeter Korsgaard2008-08-041-2/+2
|
* uClibc-0.9.29: remove double ARM subarch selection from defconfigPeter Korsgaard2008-08-041-16/+0
| | | | | uclibc.mk unconditionally adds the ARM subarch config entries to the config so remove them from the defconfig.
* kernel-headers: remove ancient versionsPeter Korsgaard2008-08-041-30/+0
|
* kernel-headers: mark 2.6.24 as deprecated and 2.6.25 as recentPeter Korsgaard2008-08-041-1/+2
|
* kernel-headers: add 2.6.26.xPeter Korsgaard2008-08-041-1/+5
|
* buildroot: remove trailing spacesPeter Korsgaard2008-08-043-12/+12
| | | | | | | for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`; do sed -i 's/ \+$//' $i; done
* Kconfig: remove 'default n'Peter Korsgaard2008-07-1713-38/+0
| | | | 'default n' is the default, so there's no need to say it explicitly.
* Add latest gcc patch for AVR32 gcc-4.2.2 prepatched sourceUlf Samuelsson2008-07-081-0/+16
|
* Fix AVR32 gcc patching, when sysroot option is not enabledUlf Samuelsson2008-07-081-1/+1
|
* kernel-headers: bump 2.6.25.x versionPeter Korsgaard2008-07-071-1/+1
|
* Add prepatched AVR32 gcc-4.2.2 toolchain from www.atmel.no, move patch ↵Ulf Samuelsson2008-07-049-22/+131
| | | | locations for prepatched toolchain to be under the toolchain directory
* fixup gdb-6.7.1Ulf Samuelsson2008-07-013-8113/+15
|
* disable werror in gdbUlf Samuelsson2008-07-011-0/+1
|
* disable configure caching in gdb, courtesy of Fathi BoudraUlf Samuelsson2008-07-011-5/+7
|
* Add gdb-6.8 support, courtesy Fathi BoudraUlf Samuelsson2008-07-011-0/+5
|
* Add gdb-6.8 support, courtesy Fathi BoudraUlf Samuelsson2008-07-011-0/+31
|
* Fix gbd-6.5, courtesy Fathi BoudraUlf Samuelsson2008-07-015-48/+42
|
* kernel headers: bump 2.6.25.xPeter Korsgaard2008-06-262-1/+1
| | | | Based on patch by Fathi Boudra.
* toolchain/gcc: use --disable-decimal-float for 4.3.xPeter Korsgaard2008-06-211-0/+7
|
* buildroot: s/depends/depends on/Peter Korsgaard2008-06-194-29/+29
| | | | | The new kconfig is more strict regarding depends/depends on, so fixup the tree.
* toolchain/gcc: add 4.3.1Peter Korsgaard2008-06-1911-0/+261
| | | | Based on Bernhards tree.
* toolchain/gcc: mark old versions as deprecatedPeter Korsgaard2008-06-191-0/+2
|
* toolchain/gcc: use $(@D)Peter Korsgaard2008-06-181-1/+1
|