summaryrefslogtreecommitdiff
path: root/toolchain/uClibc
AgeCommit message (Collapse)Author
2012-05-09Add support to generate locale dataThomas Petazzoni
In order to use locale support on a Linux system, you need locale data to be present: * on a (e)glibc based system, this data is typically in the /usr/lib/locale/locale-archive file, which can be created and extended using the localedef program * on an uClibc based system, the set of supported locales is defined at build time by an uClibc configuration option. This patch implements generating locale data for the following cases: * Internal toolchain * External toolchain based on (e)glibc. uClibc external toolchains are not supported, because with uClibc, the set of supported locales is defined at build time. CodeSourcery and Linaro toolchains have been tested, Crosstool-NG toolchains are believed to work properly as well. * Toolchains built using the Crosstool-NG backend, but only (e)glibc toolchains. This feature was runtime tested with internal uClibc toolchain, CodeSourcery ARM toolchain and Linaro ARM toolchain, thanks to a simple C program that shows the data and a gettext translated message. Note that this option differs from the "purge locales" option, which is responsible for removing translation files and other locale stuff installed by packages. At some point in the future, we may want to clarify the respective roles of those options. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-03toolchain/uClibc: enable 0.9.33.1 for shGustavo Zacarias
Enable uClibc 0.9.33.1 for the SH architecture. Builds and works fine with the qemu sample config. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-03toolchain/uClibc: enable UCLIBC_SUPPORT_AI_ADDRCONFIGGustavo Zacarias
Enable AI_ADDRCONFIG support in uClibc otherwise we don't get the ifaddrs.h header installed and thus lack getifaddrs support. Quite useful for samba for example so we can use interfaces=eth0 statements in the configuration file rather than klunkier interfaces=192.168.1.1/255.255.255.0 ones. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-04-23uClibc: 0.9.33.1: fix version (soname) numberPeter Korsgaard
For some reason, the version number in the 0.9.33.1 tarball is wrong. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-04-14toolchain/uClibc: bump 0.9.33.x series to version 0.9.33.1Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-04-14toolchain/uClibc: fix default configs with respect to bug #5018Gustavo Zacarias
Switch from the strict UCLIBC_HAS_CTYPE_ENFORCED=y to the less restrictive UCLIBC_HAS_CTYPE_CHECKED=y since it breaks dialog under certain circumstances (bug #5018). Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-04-05uClibc: add dup3() for 0.9.33Peter Korsgaard
Needed by E.G. systemd. Patch from uClibc list: http://lists.uclibc.org/pipermail/uclibc/2011-September/045702.html Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-04-05uClibc: add MSG_WAITFORONE / MSG_CMSG_CLOEXEC for 0.9.33Peter Korsgaard
Needed by E.G. systemd. Patch from yocto: http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-core/uclibc/uclibc-0.9.33/define-MSG_CMSG_CLOEXEC.patch Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-20uClibc: enable utmpx support in defconfigsPeter Korsgaard
It adds very little size overhead as the functions are just wrappers around utmp, and E.G. systemd needs it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-20uClibc: default to 0.9.33Peter Korsgaard
This is the current stable version, and E.G. systemd doesn't build with earlier versions. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-18DOWNLOAD: change $1=DIRECTORY_URL, $2=FILE_NAME to $1=FULL_FILE_URL, ↵Alvaro G. M
$2=FILE_NAME This modifies the definition of DOWNLOAD to receive two arguments: the first one is the full URL of the file to download, whereas the second (and optional) is the name the file will have once downloaded. Same thing with the SOURCE_CHECK_WGET and SCP functions. All calls to these functions have been changed to the shortest form of the new API, except for toolchains acquisition. Since there is quite a number of different toolchains this call to DOWNLOAD is better set to the generic one. Signed-off-by: Alvaro G. M <alvaro.gamez@hazent.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Stephan Hoffmann <sho@relinux.de> Downloading Microblaze LE toolchain works on a clean install Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-27uClibc: rename 0.9.33 syscall_ncs patchPeter Korsgaard
No need for double dashes - Purely cosmetical. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-16uClibc: add upstream 0.9.33 fixesPeter Korsgaard
Fixes build on E.G. powerpc. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-02uClibc: tweak 0.9.33 / snapshot configsPeter Korsgaard
With default values so it doesn't stop build and ask user. Also disable 2.4 modules support by default like upstream does. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-02uClibc: add 0.9.33Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-07toolchain: add powerpc SPE ABI supportGustavo Zacarias
Add the ability for buildroot to build an SPE ABI enabled toolchain. This is mandatory for e500v1/v2 cores since they don't support classic FPU mode as the e500mc does. Useful for Freescale's PowerQUICC III and single/dual-core QorIQ line of processors. The new TARGET_ABI variable is used rather than TARGET_CFLAGS for uclibc's UCLIBC_EXTRA_CFLAGS to avoid breakish CFLAGS leaking in, a good example being -mthumb for ARM. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-02uClibc: bump 0.9.32.x version to 0.9.32.1Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-12-07uclibc: update internal toolchain buildGustavo Zacarias
Update the uClibc build procedure to accomodate for the new build system, otherwise it breaks with snapshot versions. As pointed by linuxjacques on IRC. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-12-07uClibc: add unshare() syscall supportGustavo Zacarias
Add unshare() syscall support for uClibc 0.9.31 and 0.9.32 series. This is required by newer versions of iproute2. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-12-07uClibc: remove deprecated 0.9.30 seriesGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-24uClibc: remove trailer from linuxthreads-errno patches confusing modern patchPeter Korsgaard
Modern versions of patch (2.6.1.81 / 85 tested) gets confused by the empty git trailer referencing uClibc_errno.h (from when patch was forward ported from 0.9.31), so drop it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-17uClibc: fix sparc build breakageGustavo Zacarias
Closes #4021 Fix build breakage for sparc as reported in bug #4021 Patches from Konrad Eisele <konrad@gaisler.com> Submitted in the uclibc mailing list. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-11uclibc: rename uclibc-update to uclibc-update-configThomas De Schampheleire
The original name uclibc-update is confusing as it only updates a configuration file. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-02uClibc: update snapshot config to avoid stallingGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-02uClibc 0.9.31.1: add patch to export strverscmp for realGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-02uClibc: add patches to fix daylight saving issuesGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-17support: move patch-kernel.sh and rename itThomas Petazzoni
The name "patch-kernel.sh" is a bit stupid, since this script is used to patch everything in Buildroot, not only kernel trees. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13uClibc: add patches to unbreak 0.9.32 on powerpc e500Peter Korsgaard
Patches from Jason Woodward, posted on the uClibc list back in July. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-16uClibc: disallow 0.9.32 on shPeter Korsgaard
Build breaks during final uClibc build with 0.9.32. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-15uClibc: disallow 0.9.32 on avr32Peter Korsgaard
Build breaks during gcc-intermediate step with 0.9.32. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-27uClibc: drop BR2_PROGRAM_INVOCATION optionPeter Korsgaard
Remove the BR option and enable the configuration setting in the uClibc defconfigs. The BR2_PROGRAM_INVOCATION option only adds very little overhead to uClibc, and we have a number of packages needing it, so simply always enable it - Simplifying the kconfig logic and the number of choices users have to make. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-18sh: Fix Buildroot sh targets to match gnuconfig targetsPhil Edworthy
sh2eb and sh2a_nofpueb gnuconfig targets are no longer supported in Buildroot. This patch replaces these Buildroot targets with sh2 and sh2a respectively, and adds sh4a targets as these are widely used. To build for devices without an fpu, the relevant toolchain flags will have to be specified. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-07uClibc: fix 0.9.32 build on x86Peter Korsgaard
Patch from uClibc git. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-04toolchain/uClibc: remove 0.9.29, mark 0.9.30 as deprecatedPeter Korsgaard
0.9.29 doesn't seem to build anymore with the toolchain versions in BR and is very old, so remove it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-09uClibc: bump 0.9.32 version, use as defaultPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-09uClibc: bump 0.9.31.x versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-15uClibc: remove AVR32 patches for 0.9.29Thomas Petazzoni
The 0.9.29 version of uClibc can no longer be selected on AVR32 since December 2009 (b642f7eefbf8c7f0111d74528390de31aaacf203). Therefore, those two patches are now completely useless. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2011-05-02uClibc: add linuxthreads/errno fix for snapshot versionGustavo Zacarias
See uclibc #2089 for details. This is still not included upstream, but lets include it anyway as several people have been running into the issue. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-29uClibc: add linuxthreads/errno fix for 0.9.31 / 0.9.32-rc3Peter Korsgaard
See uclibc #2089 for details. This is still not included upstream, but lets include it anyway as several people have been running into the issue. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-27toolchain: update uClibc snapshot config again to avoid build stallsGustavo Zacarias
Update uClibc snapshot version config to avoid build stalls. This time we take care of the new UCLIBC_HAS_FTS and UCLIBC_HAS_BACKTRACE options. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26toolchain: add inotify_init1 syscall support to uclibc 0.9.31Gustavo Zacarias
Add inotify_init1 system call support to uclibc 0.9.31. Required for modern versions of udev. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26toolchain: add SOCK_CLOEXEC and SOCK_NONBLOCK support to uclibc 0.9.31Gustavo Zacarias
Add SOCK_CLOEXEC and SOCK_NONBLOCK support to uclibc 0.9.31. Required for modern versions of udev. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26toolchain: update uClibc snapshot config to avoid build stallsGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-16uClibc: bump 0.9.32-rc versionPeter Korsgaard
To -rc3 and update defconfig to match. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25uClibc: fix uclibc-menuconfig with ccache enabledPeter Korsgaard
If ccache is enabled, we need to ensure it is built for the host before anything else. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-31uclibc: add BSD endian conversions routines for 0.9.31Gustavo Zacarias
Add BSD endian conversion routines (backport from 0.9.32 / git). Required to use a modern udev. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-20toolchain/uClibc: bump 0.9.32 version to 0.9.32-rc2Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-14uClibc: 0.9.32-rc1 netlinkaccess fixPeter Korsgaard
From uClibc git, fixes build issue on powerpc. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-29toolchain: drop BR2_CROSS_TOOLCHAIN_TARGET_UTILS optionGustavo Zacarias
It's really not very useful, all it does is install a target strace and ldd in a target_utils directory in staging. While at it clean up the strace makefile a bit. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-29uclibc: fix configs for 0.9.32 & snapshotGustavo Zacarias
* 0.9.32 config needs UCLIBC_HAS___PROGNAME defined or we stall when program invocation name is enabled. * Mirror 0.9.32's config to snapshot for consistency. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>