Commit Graph

885 Commits

Author SHA1 Message Date
Peter Korsgaard 5469008f89 toolchain/binutils/2.18.50.0.9: accept sh?-*-*
Based on 3ed6c5b5 in Bernhard's tree.
2008-12-05 15:27:58 +00:00
Peter Korsgaard 01a7a8fef6 toolchain/binutils/2.18.50.0.9: add patch for PR6878
Based on b5451979 in Bernhard's tree.
2008-12-05 15:27:55 +00:00
Peter Korsgaard 56287af5a5 toolchain/binutils: add 2.18.50.0.9
Based on 713e7e46 in Bernhard's tree.
2008-12-05 15:27:52 +00:00
Peter Korsgaard 1ad0441dc8 toolchain/binutils: add 2.18.50.0.8
Based on 1c493ff1 in Bernhard's tree.
2008-12-05 15:27:48 +00:00
Peter Korsgaard a907a95cb7 toolchain/binutils: add 2.18.50.0.6
Based on 45b89c54 / beede0ba in Bernhard's tree.
2008-12-05 15:27:45 +00:00
Peter Korsgaard 51f5bccbc9 toolchain/binutils: honour HAVE_MANPAGES / HAVE_INFOPAGES
Based on b157db55 in Bernhard's tree.
2008-12-05 15:27:42 +00:00
Peter Korsgaard 7249f4898e toolchain/binutils: let make expand wildcards instead of the shell
Based on f97ce837 in Bernhard's tree.
2008-12-05 15:27:38 +00:00
Peter Korsgaard e46245b1c0 toolchain/binutils: add 2.18.50.0.3
Based on b2b5d9f2 in Bernhard's tree.
2008-12-05 15:27:33 +00:00
Peter Korsgaard 84ddc66a41 toolchain/*: use CONFIG_UPDATE
Based on e0e0945e in Bernhard's tree.
2008-12-05 15:27:26 +00:00
Peter Korsgaard d1e6618fe4 uclibc 0.9.30: defconfig: enable UCLIBC_HAS_LONG_DOUBLE_MATH 2008-12-01 14:53:22 +00:00
Hans-Christian Egtvedt cf13c9824e uClibc: set 0.9.30 as default
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-12-01 14:23:57 +00:00
Hans-Christian Egtvedt cafdaf2cec uClibc: add a default config for 0.9.30
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-01 14:23:09 +00:00
Hans-Christian Egtvedt 0547cb9cb9 uClibc: add uClibc 0.9.30 to kconfig and Makefile
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-12-01 13:02:22 +00:00
Peter Korsgaard b3ef2e9fa0 kernel-headers: bump 2.6.26.x / 2.6.27.x version 2008-11-30 09:52:06 +00:00
Peter Korsgaard 5bf6b74e22 kernel-headers: also show 2.6.26 if deprecated is enabled, but recent isn't 2008-11-30 09:51:57 +00:00
Peter Korsgaard 22a23bb220 kernel-headers: bump 2.6.26 and 2.6.27 minor versions 2008-11-05 11:11:43 +00:00
Peter Korsgaard 030a9d39b1 External toolchain C++ cross-compiler fix
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-03 10:37:27 +00:00
Peter Korsgaard df1df36fcb More external toolchain fixes
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-03 10:32:59 +00:00
Peter Korsgaard 51f5f62754 External toolchain support improvements
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-11-03 10:18:39 +00:00
Arnar Mar Sigurðsson 88b24a4caa 2 gcc patches from Atmel's buildroot 2008-10-31 01:41:31 +00:00
Peter Korsgaard 7543f7dff4 toolhain/: confgure: respect quiet option 2008-10-26 09:14:02 +00:00
Peter Korsgaard 2ee7e54c61 kernel-headers: bump 2.6.25, 2.6.26 and 2.6.27 minor versions 2008-10-24 11:02:32 +00:00
Peter Korsgaard a16c662d0a toolchain/uclibc: brown paper bag fix for r23746
So much for doing one more "obvious" fix before going home -
Sorry everyone.
2008-10-20 18:55:26 +00:00
Peter Korsgaard cdade1dd00 toolchain/uclibc: only use make install_headers for 0.9.29+
0.9.28.3 doesn't have install_headers, so use install_dev there.

Got broken by r23561.
2008-10-20 15:23:50 +00:00
Peter Korsgaard e241fa4290 Typo fix in toolchain/external-toolchain/ext-tool.mk
From: Grant Likely <grant.likely@secretlab.ca>

Comment block header documentation typo
2008-10-17 10:19:38 +00:00
Peter Korsgaard 722f3634fb kernel-headers: bump 2.6.25.x / 2.6.26.x versions 2008-10-10 08:25:15 +00:00
Peter Korsgaard d60874fe58 kernel-headers: add 2.6.27
And mark 2.6.26 as recent, 2.6.25 as deprecated while we're at it.
2008-10-10 08:25:02 +00:00
Hans-Christian Egtvedt c0f95aafb8 uclibc: fix path to ARCH_CFLAGS when compiling the test suite
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-07 07:32:40 +00:00
Hans-Christian Egtvedt 8e71cdd87f uclibc: add kconfig option and make stuff for installing the uClibc test suite
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-07 07:20:32 +00:00
Wade Berrier 3916f9ef4a ccache:
-Don't show custom location dir if ccache isn't selected.
2008-10-06 20:28:46 +00:00
Wade Berrier af9710538e ccache:
-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-06 19:14:41 +00:00
Hans-Christian Egtvedt 50b55c9006 gcc: make installation of shared libraries multi-project safe
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-02 15:02:38 +00:00
Hans-Christian Egtvedt 3fac2be724 gcc: make sure that /usr/lib exists on target before installing shared libs
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-02 14:32:07 +00:00
Hans-Christian Egtvedt 49f6f94aee kernel-headers: remove whitespace damage 2008-10-02 14:24:45 +00:00
Hans-Christian Egtvedt 21eb2bfd61 uclibc: install headers after building headers in configure part
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-30 07:29:35 +00:00
Hamish Moffatt ea8e74bcbe Applied change from Ben Nizette and Hans-Christian Egtvedt to
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-09-04 02:30:56 +00:00
Peter Korsgaard 5a5c59956b toolchain/gdb: unbreak target gdb support
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.
2008-08-24 07:48:22 +00:00
Peter Korsgaard 1243071b16 gcc: only use -mfloat-abi for ARM, use -msoft-float for other archs
Patch by Wade Berrier.
2008-08-22 13:59:06 +00:00
Peter Korsgaard dab85fae49 kernel-headers: rename aout patch so it gets applied to 2.6.25.15
Needed by valgrind.
2008-08-19 15:01:36 +00:00
Peter Korsgaard 383ee808ca kernel-headers: bump 2.6.25.x / 2.6.26.x versions 2008-08-19 15:01:33 +00:00
Peter Korsgaard f9bd1c85f3 ccache: expand help text 2008-08-04 19:08:06 +00:00
Peter Korsgaard 387a5491a2 ccache: cleanup configure args and respect BR2_HAVE_MANPAGES 2008-08-04 19:08:04 +00:00
Peter Korsgaard 3e59a44021 ccache: also remove target symlinks on clean 2008-08-04 19:08:01 +00:00
Peter Korsgaard 5d2d6d9705 ccache: cleanup config 2008-08-04 19:07:58 +00:00
Peter Korsgaard d3ebf329ca uClibc-0.9.29: remove double ARM subarch selection from defconfig
uclibc.mk unconditionally adds the ARM subarch config entries to the
config so remove them from the defconfig.
2008-08-04 19:07:33 +00:00
Peter Korsgaard 32de4ac2da kernel-headers: remove ancient versions 2008-08-04 19:07:26 +00:00
Peter Korsgaard d1a4923086 kernel-headers: mark 2.6.24 as deprecated and 2.6.25 as recent 2008-08-04 19:07:24 +00:00
Peter Korsgaard dc01863bce kernel-headers: add 2.6.26.x 2008-08-04 19:07:21 +00:00
Peter Korsgaard 02a623ddf9 buildroot: remove trailing spaces
for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`;
do
	sed -i 's/ \+$//' $i;
done
2008-08-04 19:07:05 +00:00
Peter Korsgaard 4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
Ulf Samuelsson 228ef57ecf Add latest gcc patch for AVR32 gcc-4.2.2 prepatched source 2008-07-08 19:45:34 +00:00
Ulf Samuelsson d592884e2c Fix AVR32 gcc patching, when sysroot option is not enabled 2008-07-08 19:31:30 +00:00
Peter Korsgaard bb4a56d29a kernel-headers: bump 2.6.25.x version 2008-07-07 05:30:22 +00:00
Ulf Samuelsson 126bb72fa0 Add prepatched AVR32 gcc-4.2.2 toolchain from www.atmel.no, move patch locations for prepatched toolchain to be under the toolchain directory 2008-07-04 08:39:35 +00:00
Ulf Samuelsson 74548a0071 fixup gdb-6.7.1 2008-07-01 21:47:24 +00:00
Ulf Samuelsson 8e3f93eec7 disable werror in gdb 2008-07-01 21:46:50 +00:00
Ulf Samuelsson d6eea487ed disable configure caching in gdb, courtesy of Fathi Boudra 2008-07-01 21:38:03 +00:00
Ulf Samuelsson 5ae5af44a5 Add gdb-6.8 support, courtesy Fathi Boudra 2008-07-01 21:36:31 +00:00
Ulf Samuelsson 0e1f472800 Add gdb-6.8 support, courtesy Fathi Boudra 2008-07-01 21:36:11 +00:00
Ulf Samuelsson 38ca54a719 Fix gbd-6.5, courtesy Fathi Boudra 2008-07-01 21:35:33 +00:00
Peter Korsgaard 5e873d3c7e kernel headers: bump 2.6.25.x
Based on patch by Fathi Boudra.
2008-06-26 07:22:19 +00:00
Peter Korsgaard 32ac555784 toolchain/gcc: use --disable-decimal-float for 4.3.x 2008-06-21 19:47:17 +00:00
Peter Korsgaard a5ac61715b buildroot: s/depends/depends on/
The new kconfig is more strict regarding depends/depends on, so fixup
the tree.
2008-06-19 19:06:25 +00:00
Peter Korsgaard e31844e307 toolchain/gcc: add 4.3.1
Based on Bernhards tree.
2008-06-19 19:06:04 +00:00
Peter Korsgaard f6a212f1c0 toolchain/gcc: mark old versions as deprecated 2008-06-19 19:05:59 +00:00
Peter Korsgaard 15d53f0d1b toolchain/gcc: use $(@D) 2008-06-18 15:46:48 +00:00
Peter Korsgaard 5a5dd825d7 toolchain/gcc: use depends on instead of depends 2008-06-18 15:42:50 +00:00
Peter Korsgaard 0c462a82ec dependencies: check for awk 2008-06-18 13:11:52 +00:00
Peter Korsgaard 4098f22eb4 uclibc: only strip libpthread on 0.9.28.3 / not PTHREAD_DEBUG 2008-06-18 08:51:10 +00:00
Peter Korsgaard 00f3b5c1f2 uclibc: remove obsolete uclibc 0.9.28 handling 2008-06-18 08:51:00 +00:00
Peter Korsgaard 65b0f823b2 toolchain/gcc: use $(STRIP_STRIP_UNNEEDED) 2008-06-17 13:33:02 +00:00
Peter Korsgaard fb487ac330 toolchain/uclibc: strip libpthread 2008-06-17 13:30:35 +00:00
Peter Korsgaard e1c7bea59c toolchain/gcc-4.x: strip cross libgcc / libstdc++ 2008-06-17 13:28:37 +00:00
Peter Korsgaard 759e150633 toolchain/gcc-3.x: strip cross libgcc / libstdc++ with cross-strip, not host. 2008-06-17 12:54:36 +00:00
Peter Korsgaard 6ba4593f4a gdb: support external toolchain 2008-06-16 15:52:41 +00:00
Peter Korsgaard 6e236eee50 toolchain: more sensible uclibc defaults for external toolchain 2008-06-16 12:22:45 +00:00
Peter Korsgaard 77b4f62415 toolchain: move elf2flt+mklibs under 'Common Toolchain Options' 2008-06-16 07:15:44 +00:00
Peter Korsgaard d22723861b elf2flt: only allow it to be selected on supported archs 2008-06-16 07:15:33 +00:00
Peter Korsgaard ab32901117 kernel-headers: 2.6.25.6: export linux/a.out.h (E.G. for valgrind) 2008-06-15 19:17:14 +00:00
Peter Korsgaard f85cd12c17 toolchain: also setup kernel headers when ext toolchain is used
Provide kernel headers when ext toolchain is used, so we can compile
packages which need them.
2008-06-13 14:28:57 +00:00
Peter Korsgaard 364405da5f toolchain: gcc 4.2.4 support 2008-06-13 11:49:42 +00:00
Peter Korsgaard fc084dfefe kernel headers: bump 2.6.25.x version 2008-06-11 13:05:23 +00:00
Peter Korsgaard a40fbe48c9 kernel headers: bump 2.6.25.x version 2008-06-07 09:40:16 +00:00
Peter Korsgaard 197ab1cef2 toolchain: also use arch/tune/abi options when softfloat is enabled
The ifeq/endif nesting was wrong, so arch/tune/abi options where only set in
the non-softfloat case.
2008-06-06 12:49:53 +00:00
Peter Korsgaard 2e696981a6 kernel headers: add BR2_DEPRECATED / BR2_RECENT annotations to 2.6.2x 2008-06-02 12:25:24 +00:00
Peter Korsgaard 22454398f5 kernel headers: add 2.6.25.4 2008-06-02 12:25:20 +00:00
Peter Korsgaard eff0dffca2 kernel headers: bump 2.6.24.x to 2.6.24.7 2008-06-02 12:25:17 +00:00
Peter Korsgaard babe5b0486 uclibc-0.9.28.3: correct arch list (avr32 missing, stuff only in 0.9.29+) 2008-05-31 07:28:09 +00:00
Peter Korsgaard 00141805cb uclibc-0.9.28.3: fix config so oldconfig doesn't ask questions 2008-05-31 07:28:00 +00:00
Peter Korsgaard f469324898 uclibc-0.9.29: handle powerpc subarch selection 2008-05-31 07:27:58 +00:00
Peter Korsgaard 13db6302c4 uClibc: use .patch.$ARCH naming convention 2008-04-24 09:03:12 +00:00
Nigel Kukard 85900b0957 * Added uclibc snapshot config, differes from the stable and kept asking questions for config
* Added ARM config options to makefile just like the other arch's
2008-04-17 13:25:47 +00:00
Peter Korsgaard de87811186 toolchain/gcc: do not try to strip *-embedspu 2008-04-04 14:16:06 +00:00
Nigel Kukard 49bb82c9f4 * Removed GCC 4.2.0, added GCC 4.2.3 (take 2) 2008-03-30 08:12:22 +00:00
Nigel Kukard c92cb2cacd * Remove legacy GCC 4.1.x versions 2008-03-30 08:07:53 +00:00
Nigel Kukard a1b9776f4b * Remove legacy GCC 4.0.x versions 2008-03-30 08:06:38 +00:00
Nigel Kukard 2c9c9bcdf2 * Remove legacy GCC 3.4.x versions 2008-03-30 08:05:22 +00:00
Nigel Kukard 5929cc768b Remove legacy GCC 3.3.x versions 2008-03-30 08:04:14 +00:00
Ulf Samuelsson 2880357071 Add build support for latest gdb 2008-03-30 07:09:07 +00:00
Ulf Samuelsson 0cc1cbe96a Force use of bash for patching 2008-03-29 23:10:47 +00:00