Commit Graph

269 Commits

Author SHA1 Message Date
Peter Korsgaard
1e627bf212 uClibc: 0.9.31.config: enable UCLIBC_SV4_DEPRECATED option
Needed by xfsprogs.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-18 11:48:58 +02:00
Peter Korsgaard
5fd095b374 toolchain: remove gcc 4.1.2 and non-sysroot support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-15 23:16:55 +02:00
Peter Korsgaard
8eef52a4b0 uClibc: 0.9.31 defconfig: disable FORCE_SHAREABLE_TEXT_SEGMENTS
Works around issues with non-fPIC libraries.

Reported-by: Sagaert Johan <sagaert.johan@skynet.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-27 00:36:45 +02:00
Thomas Petazzoni
4c57d9638f uclibc: make sure the default configuration doesn't ask questions
Since new configuration options have been added in 0.9.31, the value
of these configuration options should be determined, either by the
default configuration file we provide, or by uclibc.mk process.

The locale generation process should probably be improved in order to
allow building other locales than just en_US.

[Peter: fixup locale handling, add PROGRAM__NAME to defconfig]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02 23:59:28 +02:00
Thomas Petazzoni
bf27314fa6 uClibc: add UCLIBC_HAS_NFTW to default configuration
UCLIBC_HAS_NFTW is a new knob in 0.9.31, which allows the obsolete and
deprecated ftw() to be compiled-out separatly from nftw(), which is
part of POSIX. nftw() should probably be enabled by default in uClibc,
and a bug has been opened about this on uClibc bug tracker
(https://bugs.busybox.net/show_bug.cgi?id=1597).

nftw() is, for example, used in Gtk+.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02 23:26:41 +02:00
Kelvin Cheung
f7f01e18e7 Enable libutil by default for uclibc 0.9.31
Closes #1591

Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-19 11:19:38 +02:00
Gustavo Zacarias
4ab6883ac5 uclibc: Enable libresolv and libnsl stubs by default for 0.9.31
Closes #1555.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-18 22:27:24 +02:00
Thomas Petazzoni
02bc426214 Get rid of all usages of BR2_RECENT
Since BR2_RECENT was enabled by default, we do not want entries marked
BR2_RECENT (and thus appearing by default in Buildroot) to disappear.

Therefore, all the entries marked BR2_RECENT are converted as
non-deprecated. We can later decide, on a per-entry basis, to add
BR2_DEPRECATED to some of them. But at least, this commit doesn't
change the default current behaviour of Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-12 15:26:37 +02:00
Thomas Petazzoni
51a7a978a3 Remove BR2_ENABLE_LOCALE_PREGENERATED
The option is marked broken since october 2009, and even the uClibc
configuration help text says that using pregenerated locales is highly
discouraged.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 21:10:34 +02:00
Gustavo Zacarias
633049d800 Enable e300c2, e300c3 and e500mc powerpc optimizations
Closes #1513

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-08 13:16:13 +02:00
Peter Korsgaard
eb1cd08a9b uClibc: 0.9.31 dnslookup use after free fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-06 15:37:14 +02:00
Peter Korsgaard
c95174a8df uclibc: don't install libs to target if BR2_PREFER_STATIC_LIB
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-05 13:44:47 +02:00
Peter Korsgaard
266fa65afb toolchain: add uClibc 0.9.31, mark 0.9.30.x as recent
Enable susv3/susv4 legacy support for now, as a lot of packages (E.G.
busybox) breaks with the stricter interpretation in 0.9.31.
Also slightly tweak uclibc.mk as the "new" linuxthreads symbol changed.

Test built on x86/x86-64/ppc/arm/mips.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-05 10:47:54 +02:00
Will Wagner
17541bd0ec uclibc: Fix for improper copying of kernel headers
Closes #1219

Signed-off-by: Will Wagner <will_wagner@carallon.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-03 10:30:53 +02:00
Peter Korsgaard
f220498f4b get rid of broken nios2 support
Has been marked as broken for more than 1 year, with no indication
that anyone cares, and it needs a bunch of special handling.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-30 17:19:59 +02:00
Peter Korsgaard
de859f6b2a toolchain: Add uClibc 0.9.30.3, remove older 0.9.30.x
As the 0.9.30.x stable releases only contain bugfixes, there isn't much
sense in using the older 0.9.30.x releases instead of .3, so use a single
0.9.30.x config similar to how we do it for the kernel headers.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-12 23:14:59 +01:00
Peter Korsgaard
43ffd946ad toolchain/uClibc: additional 0.9.30.2 patches
Everything on the 0_9_30 branch since the release (0.9.30.3 to be)

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-22 22:05:41 +01:00
Thomas Petazzoni
2bf5840e57 Add patch to fix uClibc build failure with locale enabled
This patch fixes the undefined reference to `__iconv_codesets'
reported at
http://www.mail-archive.com/uclibc@uclibc.org/msg04970.html. The patch
has been taken from the upstream Git repository, and will be part of
uClibc 0.9.30.3. In the mean time, let's integrate it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-13 12:25:52 +01:00
Peter Korsgaard
6bfb4885b0 toolchain: add uclibc 0.9.30.2
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-15 14:48:08 +01:00
Thomas Petazzoni
4e813d99f9 uclibc: get rid of avr32 special version since upstream works
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 10:49:59 +01:00
Peter Korsgaard
687d0958a3 toolchain/uClibc: avr32 patch should apply to 0.9.30.1
avr32 uses 0.9.30.1, not 0.9.30.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-15 10:47:39 +01:00
Hans-Christian Egtvedt
b4f01dcc10 uclibc: add prctl syscall fix for AVR32 architecture
This patch fixes the prctl syscall for the AVR32 architecture, since this
architecture assumes you handle varargs in a proper way, always.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-15 10:41:07 +01:00
Peter Korsgaard
d3df830c2b toolchain/uClibc: 0.9.30.x config: enable arch specific string routines if available
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-15 09:51:57 +01:00
Thomas Petazzoni
19d7f0e315 uclibc: remove external sources patches
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:48 +01:00
Thomas Petazzoni
bc994c533c Use BR2_TOOLCHAIN_BUILDROOT instead of BR2_TOOLCHAIN_SOURCE
The BR2_TOOLCHAIN_SOURCE option is removed in a future commit.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:47 +01:00
Thomas Petazzoni
8a5c3653ac uclibc: remove support for external source toolchains
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:46 +01:00
Thomas Petazzoni
b642f7eefb uclibc: do not allow selection of non-avr32 versions on AVR32
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:46 +01:00
Thomas Petazzoni
3a24927a0e uclibc: add avr32 special version
* Add a new 0.9.30-avr32-2.1.5 version of uClibc in Config.in

 * Add a patch for 0.9.20-avr32-2.1.5

 * Select a different UCLIBC_SITE for avr32 versions in uclibc.mk

 * Add the LINKRELAX=y configuration option to the uClibc .config file
   in uclibc.mk

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:43 +01:00
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