Commit Graph

291 Commits

Author SHA1 Message Date
Peter Korsgaard
09d62e89e7 toolchain/uClibc: install ldd to target
Reported by Julien Boibessot <julien.boibessot@free.fr>.

This somehow got disabled by cb815ae003 (two years ago!).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-17 17:37:11 +01:00
Peter Korsgaard
b18b46ebee uclibc: add unifdef getline fix to avr32 variant as well
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-09 23:25:17 +01:00
Bernhard Reutner-Fischer
473a91dbe6 *-menuconfig needs dirs to exist
In a pristine checkout the -menuconfig targets need their build dirs
to exist.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-09 14:31:21 +02:00
Michael Roth
cb5710c538 rename TOOL_BUILD_DIR to TOOLCHAIN_DIR
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-09-23 09:15:27 +02:00
Thomas Petazzoni
af2390c0f4 toolchain: use qstrip
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-05 14:43:18 +02:00
Austin Foxley
4d0c00588f uClibc as of 20090825 requires the ARCH to be specified when we call it's make
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-03 21:20:18 +02:00
Thomas Petazzoni
8d880c3e5c Fix PROGRAM_INVOCATION handling with external toolchains
BR2_UCLIBC_PROGRAM_INVOCATION is a toolchain configuration option,
like BR2_INET_IPV6, BR2_INET_RPC, on which some packages
depend. Therefore, it should be handled like BR2_INET_IPV6 and
BR2_INET_RPC in order to work properly with external toolchains.

Since we move it out of toolchain/uClibc/Config.in into
toolchain/Config.in.2, we rename the option to BR2_PROGRAM_INVOCATION
(since BR2_INET_RPC and others don't have UCLIBC in their name).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-31 11:40:34 +02:00
Pavel Roskin
a248954890 toolchain/uClibc: add patch to rename getline to get_line in unifdef.c
getline() is a standard libc function with a different signature.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-27 09:43:06 +02:00
Peter Korsgaard
c1b3b6cab0 toolchain/uclibc: xtensa patches
New files missing from 58050c28.

Signed-off-by: Maxim Grigoriev <maxim2405@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-25 20:25:34 +02:00
Maxim Grigoriev
58050c286b toolchain/uclibc: xtensa support
Part of #163.

Signed-off-by: Maxim Grigoriev <maxim2405@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-24 02:22:08 +02:00
Peter Korsgaard
c67733f9a2 toolchain/uClibc: 0.9.30.1 arm linuxthreads fix
Reported by Michael Roth <mroth@nessie.de>. Identical to the 0.9.30 patch.
2009-04-29 13:12:56 +00:00
Peter Korsgaard
d76155005f toolchain/uClibc: 0.9.30.1 getaddrinfo fix for intfs without address
From uClibc r24336.
2009-04-24 18:42:18 +00:00
Peter Korsgaard
503ab93cfe toolchain: add BR2_USE_SSP option for stack protection support
Using the support in uClibc.
2009-04-22 07:27:22 +00:00
Peter Korsgaard
e860a7bc5d uClibc: additional 0.9.30.1 patches
From Bernhard's tree.
2009-03-12 20:29:24 +00:00
Peter Korsgaard
e8e6bc348b uClibc: strtouq fix for 64bit 2009-03-10 21:03:04 +00:00
Peter Korsgaard
2676c2029b uclibc: 0.9.30.1 fix for ppc32 C99 math
From Bernhard.
2009-03-05 12:11:26 +00:00
Peter Korsgaard
8e4ba1b452 uclibc: cleanup version handling
Based on 0171c72 in Bernhards' tree.
2009-03-03 20:23:10 +00:00
Peter Korsgaard
7664a62a0c uclibc: add 0.9.30.1 2009-03-03 09:41:15 +00:00
Peter Korsgaard
5c5a49c0b0 uClibc: remove unused 0.9.29 wchar defconfig
We add the wchar stuff at compile time using sed, so the default defconfig
works, the file hasn't seen any updates since it first got committed, and
there's no references to it in the tree.
2009-02-03 14:29:36 +00:00
Peter Korsgaard
06d48389e2 uClibc: enable LDSO_RUNPATH in defconfigs (use ELF RPATH info)
Fixes mysql-client package (installs shared libraries into /usr/lib/mysql
and sets RPATH).
2009-02-03 14:28:43 +00:00
Daniel Laird
040bd64849 Extend External Toolchain options (match buildroot built toolchain):
Have added options that mean you can set the same BR2_XXXX variables
for external toolchain and internal (buildroot built) toolchain.

This means the same set of packages can be built now me as for you.....

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
2009-01-30 16:28:26 +00:00
Peter Korsgaard
92bd25c9eb toolchain: fix up GNU_TARGET_NAME link and target_utils location
The GNU_TARGET_NAME symlink and target_utils location were not correctly
adjusted to match the move of the toolchain to $(STAGING_DIR)/usr,
creating dangling symlinks.
2009-01-30 13:34:42 +00:00
Peter Korsgaard
3813096b28 toolchain/uClibc: fix 0.9.30 build with linuxthreads on ARM
Patch by Will Wagner <will_wagner@carallon.com> - From uclibc svn r25099.
2009-01-28 15:48:52 +00:00
Peter Korsgaard
80161f54e3 toolchain/uClibc: disable UCLIBC_SUPPORT_AI_ADDRCONFIG in 0.9.30 defconfig
UCLIBC_SUPPORT_AI_ADDRCONFIG seems to have issues in 0.9.30 and cause
segfaults on some architectures, so disable it.

Reported and tracked down by "QuickX" <quickx@hotmail.com>.
2009-01-24 06:44:17 +00:00
Peter Korsgaard
675b479c2f Kconfig: remove 'default n' and 'default no' (see r22874)
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2009-01-18 14:20:18 +00:00
Peter Korsgaard
032cc7e76f toolchain/uClibc: mark 0.9.29 as recent 2009-01-16 14:21:24 +00:00
Peter Korsgaard
0ef35d5d5e toolchain/: convert to DOWNLOAD helper 2009-01-16 11:47:05 +00:00
Peter Korsgaard
35dc4cd628 toolchain: sh64 fixes
- arch/sh and arch/sh64 got merged in 2.6.25, so use arch/sh for sh64 as well
- use little endian for sh64, like for 32bit sh

sh64 still doesn't build, but gets further along now.
2009-01-13 15:09:18 +00:00
Peter Korsgaard
b268646b9f uclibc: 0.9.30-x86-2.6.28+headers-fix: add r24799 as well
Handle x86_84 as well. From uclibc r24799.
2009-01-12 15:57:28 +00:00
Peter Korsgaard
6e4c616df8 toolchain/uclibc: fix sparc SED handling of _V9 / _V9B 2009-01-12 15:01:28 +00:00
Peter Korsgaard
5b220b9ded toolchain/uclibc: propagate mips mips32r2 variant setting to uclibc
0.9.30 supports MIPS_ISA_MIPS32R2, so use it if mips32r2 variant is selected.
2009-01-12 14:11:40 +00:00
Peter Korsgaard
585aca9a5a add .empty files for git-svn
git-svn (and git) doesn't handle empty directories, so add .empty files
to those dirs like elsewhere in buildroot.

Those empty directories are normally not a big deal, but the recent changes
to u-boot broke the build.
2009-01-05 15:47:00 +00:00
Peter Korsgaard
3db839986d toolchain: revert "Allow creating a script for external use of Buildroot toolchain"
It's been 10 days now without any reply from Ulf, so revert r24480+r24481.
2009-01-02 20:31:01 +00:00
Ulf Samuelsson
55abdf59e8 Remove whitespace damage in uclibc.mk 2009-01-02 08:30:44 +00:00
Peter Korsgaard
4826e57a04 toolchain/uclibc: fix 0.9.30 x86 build with 2.6.28 headers (from r24515) 2008-12-29 15:22:23 +00:00
Peter Korsgaard
40a2bdae7c toolchain/uclibc: fix typo 2008-12-23 10:21:07 +00:00
Peter Korsgaard
11050fcc62 toolchain/uclibc: Add BR2_ENABLE_LOCALE_PREGENERATED option
Add an option to either generate locales yourself or download the
pregenerated set.

Based on 4bdca9cc in Bernhard's tree.
2008-12-23 09:39:05 +00:00
Ulf Samuelsson
85c7bde99e Allow creating a script for external use of Buildroot toolchain 2008-12-21 17:11:33 +00:00
Peter Korsgaard
0e14d4f7ff toolchain/: get rid of unneeded $(strip ..) 2008-12-08 08:15:42 +00:00
Peter Korsgaard
10f8e714e2 uclibc: add RPC config variables to 0.9.30
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-07 21:22:51 +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
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
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
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
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
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
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
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
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
fb487ac330 toolchain/uclibc: strip libpthread 2008-06-17 13:30:35 +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
Nigel Kukard
0c00962017 PentiumPro is not Pentium4 but i686 2008-03-29 17:34:23 +00:00
Nigel Kukard
9a193dfbf0 * Fixed uClibc sub-x86 arch selection 2008-03-29 16:23:16 +00:00
Peter Korsgaard
ca89923ee0 uClibc 0.9.28.3: use optimized string ops on ppc
Use optimized string ops instead of dummy generic ones on PPC.
2008-03-27 10:23:13 +00:00
Peter Korsgaard
9e0fe4b885 uclibc: remove unused legacy patches 2008-03-27 10:23:03 +00:00
John Voltz
dc56871dde HTMLized glibc vs uclibc and added to docs 2008-03-07 13:34:02 +00:00
John Voltz
3ab16b1fd6 added and removed uclibc patches 2008-03-06 18:50:01 +00:00
"Steven J. Hill"
bebbe792df Make sure 'linkage.h' headers are installed. Add hack to bootstrap newer
versions of GCC. Filter out 'gnu99' from assembly flags. Use the 
'headers' target instead of 'pregen' to prepare for more NPTL 
integration. Fix broken MTD package configuration....someone believes in 
the Klingon release process apparently. Fix build issues with netplug 
and libpng. Fix source path for microcom as original site no longer 
exists.
2008-02-28 02:13:42 +00:00
Ivan Kuten
cb815ae003 Add support for GNU and kernel.org mirrors 2007-12-17 12:29:06 +00:00
Ivan Kuten
1dabd71252 update uClibc config for nios2 2007-11-15 15:44:15 +00:00
Ivan Kuten
06510069f8 install ldconfig stuff only if it was built, fix for systems without shared libraries support (nios2) 2007-11-15 10:16:55 +00:00
Ulf Samuelsson
f53d9ece64 Update AVR32 toolchain with new binutils and uClibc, This time it works (cross-fingers) 2007-10-13 10:15:01 +00:00
Ulf Samuelsson
191d0518b9 Add AVR32 support for uclibc-0-9-29 2007-10-12 15:12:55 +00:00
Bernhard Reutner-Fischer
28b852d9c3 - propagate mips ISA down to uClibc 2007-09-30 12:42:59 +00:00
Bernhard Reutner-Fischer
98175bd43d - revert part of 20119 (renaming BR2_ARM_.ABI to BR2_.ABI) 2007-09-29 21:22:23 +00:00
Bernhard Reutner-Fischer
3de7a21bc7 - add mips/mipsel target architecture selection
- rename BR2_ARM_[EO]ABI to the commonly used BR2_[EO]ABI
2007-09-29 19:17:39 +00:00
Ulf Samuelsson
a6faed6a6e Removed uclibc source dependency on host-sed 2007-09-28 22:16:47 +00:00
Ulf Samuelsson
41d2a92fee No reliance on dirs in uClibc 2007-09-28 21:44:35 +00:00
Ulf Samuelsson
5459a9c5e0 Cleanup cross toolchain admin, split uclibc-menuconfig into same + uclibc-update to avoid overwriting board support file 2007-09-28 19:43:26 +00:00
Ulf Samuelsson
b8f28d656b Add administration for linux,uclibc and main 2007-09-28 16:18:16 +00:00
Ulf Samuelsson
f9106781dd Remove softfp patch from uClibc, ARM softfloat, did not complete anyway 2007-09-27 23:54:45 +00:00
Bernhard Reutner-Fischer
22901e8a44 - fix ARM ABI propagation 2007-09-27 21:51:21 +00:00
Ulf Samuelsson
e2e3006ea3 Additional management of uclibc 2007-09-27 00:18:52 +00:00
Bernhard Reutner-Fischer
4b0d5a80f8 - revert some bad checkins, fixup bad settings in atmel targets and move the gcc target abi back to a place where the other arch-specific settings live 2007-09-26 21:12:38 +00:00
Ulf Samuelsson
88d5245ebd Ensure soft-fp patch is truly local 2007-09-26 09:09:55 +00:00
Ulf Samuelsson
01426334b4 reinstate AVR32 toolchain 2007-09-26 05:36:11 +00:00
Ulf Samuelsson
0a02af2895 Remove -lgcc, did no good anyway 2007-09-25 14:13:21 +00:00
Ulf Samuelsson
e7276beca0 Add soft-fp part of gcclib to uClibc to allow ARM softfloat to complete 2007-09-25 13:37:20 +00:00
Bernhard Reutner-Fischer
56b426eeb3 - Schedule removal of ancient versions (configuration part). 2007-09-25 11:53:44 +00:00
Bernhard Reutner-Fischer
d8fc1c0a74 - remove one invariant in toolchain type selection. 2007-09-25 08:18:36 +00:00
Bernhard Reutner-Fischer
23b8823a18 - do not enable LEGACY stuff in the *sample* config 2007-09-24 12:19:41 +00:00
Bernhard Reutner-Fischer
4909da4156 - rename the gcc base_target to the more appropriate term cross_compiler 2007-09-22 21:38:15 +00:00
Bernhard Reutner-Fischer
212c5f8f6f - default to 0.9.29 2007-09-22 16:40:08 +00:00
Ulf Samuelsson
633c8cbf5b Remove some debug info + add uclibc-target-utils-source target 2007-09-17 12:49:46 +00:00
Bernhard Reutner-Fischer
153ee9e247 - some more sparc{,64} twiddling 2007-09-15 22:04:49 +00:00
Bernhard Reutner-Fischer
777a28a85d - add sequence-point for toplevel parallel builds: uClibc needs an initial gcc 2007-09-01 18:46:46 +00:00
Bernhard Reutner-Fischer
33b0908145 - uclibc-configured has to depend on kernel-headers 2007-08-29 18:05:46 +00:00
Bernhard Reutner-Fischer
98a7a4c9d2 - misc cleanups (Cristian Ionescu-Idbohrn) 2007-08-28 21:42:44 +00:00
Bernhard Reutner-Fischer
86c31b90a2 - improve handling of sh (fgretief) for bug #1446 2007-08-26 20:55:02 +00:00