aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/libc/uClibc.sh
Commit message (Collapse)AuthorAgeFilesLines
...
* libc/uClibc: add option to enable fenvYann E. MORIN"2014-01-041-7/+5
| | | | | | | | | Support for fenv.h is a little bit more tricky that enabling it only for x86-32 is not right. Add an option for the user to choose whther to install fenv.h or not. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* libc-uclibc: enable fenv for x86 32-bitYann E. MORIN"2014-01-041-0/+7
| | | | | | Without it, gcc-4.8 fails to build. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* libc: get rid of libc_finishYann E. MORIN"2013-01-101-5/+0
| | | | | | | At long last, we no longer have any libc that requries a libc_finish. Yeah! Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* libc/uClibc: remove use of snapshots and specific dateYann E. MORIN"2012-10-311-15/+7
| | | | | | | | We now have the ability to use a custom location, so supporting snapshots or custom date is no longer needed. Let the user do the required preparation in this case. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* libc/uClibc: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustomDavid Holsgrove2012-10-111-1/+11
| | | | | | | | | | | CUSTOM_LOCATION config options only presented in menuconfig if component CUSTOM version selected. Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com> [yann.morin.1998@free.fr: fix indentation, don't patch custom dir location] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <712995e3e719fbbe24af.1349931201@localhost.localdomain> PatchWork-Id: 190794
* libc/uClibc: add additional debug level between "minimal" and "all"Johannes Stezenbach2012-02-241-0/+10
| | | | | | | | | During application development it is desirable to enable malloc debugging and LD_DEBUG support, but the extensive debug spew from SUPPORT_LD_DEBUG_EARLY is only useful when working on uClibc's ld.so. Signed-off-by: Johannes Stezenbach <js@sig21.net>
* libc/uClibc: use endian string in testsYann E. MORIN"2011-11-201-3/+5
| | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
* libc/uClibc: use the floating-point string option in testsYann E. MORIN"2011-11-141-3/+5
| | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
* libc/uClibc: force use of ctor/dtorYann E. MORIN"2011-08-131-1/+5
| | | | | | | | Although ctor/dtor do not seem strictly required, missing them proves rather inconvenient, as ld can't link binaries. Reported-by: John Spencer <maillist-uclibc@barfooze.de> (sh4rm4 on IRC) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
* libc/uclibc: fix src dir locationYann E. MORIN"2011-07-311-13/+3
| | | | | | | | | Now that we akways extract the tarballs in a sane location (see changeset #6e1412ba8da9: scripts/functions: force extract folder to archive basename), the uClibc snapshot dir now has the date (as version) in it, eg.: uClibc-20100710 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
* libc/uClibc: use MMU settingsYann E. MORIN"2011-04-241-0/+13
| | | | | | Enforce the MMU settings from the crosstool-NG configuration. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
* libc: remove now unneeded do_libc_headersYann E. MORIN"2011-01-221-4/+0
| | | | | | do_libc_headers is now a noop, and is no longer used, so remove that step. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
* scripts: PARALLELMFLAGS is evil, renameYann E. MORIN"2011-01-221-3/+3
| | | | | | | | | | The reunification of the glibc/eglibc code paths exposed a nasty bug in the glibc build: use of PARALLELMFLAGS breaks the build. See the explanations in that bug report against FC6: https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=212111 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
* libc/uClibc: move content of do_libc_headers into do_libc_start_filesYann E. MORIN"2011-01-221-6/+5
| | | | | | | | | | | | It is unnecessary to split C library preparation into two steps, as only one really makes sense. So, do_libc_headers is bound to be withdrawn short-term, in favor of do_libc_start_files. uClibc already had all its start files installation in do_libc_headers, and do_libc_start_files was empty, just migrate the content of the former into the latter. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
* libc/uClibc: normalize uclibc hidden version namesBryan Hundven2011-01-031-4/+4
| | | | | | | | | | | | | | Hidden version names for uClibc conflicted: LIBC_UCLIBC_V_0_9_30_2 LIBC_V_0_9_30_1 name them constantly as: LIBC_UCLIBC_V_<version> Also update the build script where we use snapshots by version or snapshots by date. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* scripts: add "FILE" and "CFG" debug levels.Anthony Foiani2010-10-221-1/+1
| | | | | | | | | | | | I ran into some minor difficulties looking through the build log for a particular file: I wasn't interested in seeing it unpacked, but only when it is built or installed. Adding these two levels allows me to differentiate between those cases. [Yann E. MORIN: Those are blind log levels, and are used only to search in the build-log afterward.] Signed-off-by: Anthony Foiani <anthony.foiani@gmail.com>
* libc/uClibc: use the MIPS ABI selectionYann E. MORIN"2010-09-121-0/+34
| | | | | | | | | | Use the MIPS ABI selection to properly munge the uClibc config file. This has the side effect to force the ISA: - n32 ABI -> MIPS-III ISA - n64 ABI -> MIPS64 ISA Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
* libc/uClibc: change munging code based on target archYann E. MORIN"2010-09-101-14/+16
| | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
* libc/uClibc: fix downloading pregen localesYann E. MORIN"2010-08-111-1/+1
| | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
* libc/uClibc: fix space damageYann E. MORIN"2010-07-281-37/+37
|
* libc/uClibc: fix using pre-generated locale dataYann E. MORIN"2010-07-281-4/+19
| | | | | | | | | Some time, someone updated the locale Makefile to use newer pre-generated locales data, but did not upload those. So we just force using the existing, ageing archive, dating back 20030818. Sigh...
* libc/uClibc: do not systematically use pre-generated locale dataYann E. MORIN"2010-07-281-12/+27
| | | | | | | | It seems that using pre-generated locale data can be more problematic than usefull in some circumstances. Offer a config knob to enable/disable use of the pregen locale data. Also, do not extract pregen locales data ourselves, it's broken.
* libc/uClibc: do not install cross-lddYann E. MORIN"2010-07-221-11/+0
| | | | | | | | | I was unable to make the cross-ldd from uClibc to work, and it is not possible to build it on non-POSIX system. Besides, we have a generic script that is in the starting-blocks to replace it, that will work for any C library, and also will work on non-POSIX systems. Bonus!
* libc/uClibc: enable NPTL for snapshotsYann E. MORIN"2010-07-031-5/+73
| | | | | Recently, NPTL has matured a lot in uClibc, and more and more people are interested to at least give it a try. So enable it.
* libc/uClibc: fix snapshotsYann E. MORIN"2010-07-031-4/+19
| | | | | Snapshots are in a subdir named uClibc, not uClibc-snapshot (or uClibc-YYYYMMDD either).
* libc/uClibc: fix munging .config for LT old/newYann E. MORIN"2010-07-021-7/+4
|
* libc/uClibc: apply the threading model to the configurationYann E. MORIN"2010-06-091-0/+30
| | | | | The threading model shall be be set in the .config file. Also, offer the choice between 'old/stable' and 'new' linuxthreads.
* Add basic support for the Blackfin architectureThomas Petazzoni2010-04-071-5/+6
| | | | | | | | | | | | | | | For uClibc, the name of the Blackfin architecture is 'bfin'. Actually, the naming of the architecture is quite messy: for toolchain tuples and uClibc, it's bfin, but for the kernel, it's blackfin. We've arbitraly choosen to name it "blackfin" in Crosstool-NG. Add Blackfin-related uClibc patch to fix a build failure related to fork() being used in unistd/daemon.c. Yann E. MORIN: Apply the patch to the kernel/linux build script to use 'linux' in the noMMU tuples. See: http://sourceware.org/ml/crossgcc/2010-04/msg00010.html
* scripts/functions: make CT_Patch dumberYann E. MORIN"2010-04-111-2/+2
| | | | | It is the responsibility of the caller to split the package name from its version. It already knows that.
* scripts/functions: change handling of nochdirYann E. MORIN"2010-01-121-2/+2
| | | | | - 'nochdir' must be the first option - have systematic pushd/popd, even if nochdir
* libc/uClibc: fix the breakage for x86 and Super-H, after the 32/64 mergeYann E. MORIN"2010-01-231-2/+9
|
* libc/uclibc: use CT_ARCH, in place of CT_KERNEL_ARCHYann E. MORIN"2010-01-231-2/+2
| | | | | Since we merged the 32/64-bit archs, and we explicitly used the Linux kernel arch name, we can get rid of CT_KERNEL_ARCH.
* misc: do not use "tar cf - |tar xf -"Yann E. MORIN"2010-01-021-12/+10
| | | | | | | | | | | | | | Using this: tar cf - -C "/some/place" |tar xf - -C "/some/other/place" to copy a directory to another place does not properly fail (when it does). Using this instead: cp -av "/some/place" "/some/other/place" makes it easy to see why and how it failed. Impacted: libc/uClibc debug/ltrace tools/sstrip scripts/populate
* libc/uClibc: do not mangle ARM {E,O}ABI when ARCH != ARMYann E. MORIN"2010-01-011-11/+13
|
* libc/uClibc: beautify the munge functionYann E. MORIN"2010-01-011-91/+100
|
* libc/uClibc: add wchar supportSimon Pasch2009-11-061-2/+11
|
* Fix building uClibc:Yann E. MORIN"2009-05-111-1/+1
| | | | | | | | - fix headers installation -------- diffstat follows -------- /trunk/scripts/build/libc/uClibc.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* Fix installing uClibc headers for versions prior to 0.9.30.Yann E. MORIN"2009-05-071-9/+23
| | | | | | | | | | Fix a comment about installing uClibc. Automatically enable // build for uClibc versions that can be built in //. -------- diffstat follows -------- /trunk/scripts/build/libc/uClibc.sh | 32 23 9 0 +++++++++++++++++++++++--------- /trunk/config/libc/uClibc.in | 12 7 5 0 +++++++----- 2 files changed, 30 insertions(+), 14 deletions(-)
* Only create the state dir if asked for a restartable build:Yann E. MORIN"2009-03-271-3/+3
| | | | | | | | | | | | | | - introduce the config dir, where components can store their config files - move the munged uClibc config file to the config dir - now, the state dir really is an indication that a build can be restarted Thanks to Groleo Marius <groleo@gmail.com> for spotting the inconsistency of the state dir usage, and suggesting this change. /trunk/scripts/build/libc/uClibc.sh | 6 3 3 0 +++--- /trunk/scripts/crosstool-NG.sh.in | 9 7 2 0 +++++++-- /trunk/scripts/functions | 15 12 3 0 ++++++++++++--- 3 files changed, 22 insertions(+), 8 deletions(-)
* Use "grep -E" instead of the deprecated "egrep".Yann E. MORIN"2009-03-081-1/+1
| | | | | | | /trunk/scripts/build/debug/200-duma.sh | 2 1 1 0 +- /trunk/scripts/build/libc/uClibc.sh | 2 1 1 0 +- /trunk/scripts/crosstool-NG.sh.in | 4 2 2 0 ++-- 3 files changed, 4 insertions(+), 4 deletions(-)
* On some hosts (eg. Cygwin), it's not possible to build the uClibc hostutils. ↵Yann E. MORIN"2009-02-111-27/+12
| | | | | | | | Offer an option to enable/disable the uClibc hostutils build. /trunk/scripts/build/libc/uClibc.sh | 39 12 27 0 ++++++++++++--------------------------- /trunk/config/libc/uClibc.in | 10 10 0 0 ++++++++++ 2 files changed, 22 insertions(+), 27 deletions(-)
* Put the uclibc munged config file in the "state" directory, so it survives a ↵Yann E. MORIN"2009-02-081-4/+4
| | | | | | | restart. /trunk/scripts/build/libc/uClibc.sh | 8 4 4 0 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
* Split CT_ExtractAndPatch in two: CT_Extract and CT_Patch:Yann E. MORIN"2009-01-051-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - it is unworkable to have CT_ExtactAndPAtch cope with all those silly glibc addons: - they can have 'short' (as 'ports') or 'long' (as glibc-ports-2.7) names - patches are against eithe the short or long name, but non-uniformly use one or the other - it is the reposibility of the component (glibc in this case) to handle corner cases such as those - update all components to use the new functions /trunk/scripts/build/tools/000-template.sh | 3 2 1 0 +- /trunk/scripts/build/tools/100-libelf.sh | 3 2 1 0 +- /trunk/scripts/build/tools/200-sstrip.sh | 3 2 1 0 +- /trunk/scripts/build/kernel/linux.sh | 3 2 1 0 +- /trunk/scripts/build/binutils.sh | 3 2 1 0 +- /trunk/scripts/build/cc/gcc.sh | 3 2 1 0 +- /trunk/scripts/build/debug/000-template.sh | 3 2 1 0 +- /trunk/scripts/build/debug/100-dmalloc.sh | 3 2 1 0 +- /trunk/scripts/build/debug/400-ltrace.sh | 3 2 1 0 +- /trunk/scripts/build/debug/300-gdb.sh | 9 6 3 0 +++-- /trunk/scripts/build/debug/500-strace.sh | 7 3 4 0 ++-- /trunk/scripts/build/debug/200-duma.sh | 19 8 11 0 ++++------ /trunk/scripts/build/libc/glibc.sh | 14 12 2 0 ++++++- /trunk/scripts/build/libc/uClibc.sh | 13 9 4 0 +++++-- /trunk/scripts/build/libc/eglibc.sh | 14 12 2 0 ++++++- /trunk/scripts/build/gmp.sh | 3 2 1 0 +- /trunk/scripts/build/mpfr.sh | 3 2 1 0 +- /trunk/scripts/functions | 68 36 32 0 +++++++++++++++++++----------------- 18 files changed, 108 insertions(+), 69 deletions(-)
* Get rid of CT_LIBC_FILE, remove useless CT_MakeAbsolutePath.Yann E. MORIN"2009-01-041-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | CT_LIBC_FILE: - that one was not easy, as it had sneaked into CT_ExtractAndPatch - which in turn made CT_ExtractAndPatch have references to C library addons - which in turn relieved the C library _extract functions from doing their own job - which in turn imposed some nasty tricks in CT_ExtractAndPatch - which in turn made life easier for the DUMA _get and _extract functions - which unveiled some bizare behavior for pushd and popd: - if using smthg ike: 'pushd foo |bar': - the directory is *neither* changed - *nor* is it pushed onto the stack - which made popd fail CT_MakeAbsolutePath: - used only to make CT_LOCAL_TARBALLS_DIR canonical - which is ((almost) useless: - hopefully, the user entered a full path already - if it's not the case, too bad... /trunk/scripts/build/debug/200-duma.sh | 5 1 4 0 +-- /trunk/scripts/build/libc/glibc.sh | 61 32 29 0 +++++++++++++++++--------------- /trunk/scripts/build/libc/uClibc.sh | 16 10 6 0 +++++--- /trunk/scripts/build/libc/eglibc.sh | 48 26 22 0 ++++++++++++++----------- /trunk/scripts/crosstool.sh | 8 0 8 0 ---- /trunk/scripts/functions | 77 15 62 0 ++++++++-------------------------------- 6 files changed, 84 insertions(+), 131 deletions(-)
* Remove support for gcc-2.95.3, it has never ever been tested.Yann E. MORIN"2009-01-041-4/+0
| | | | | | | /trunk/config/cc/gcc.in | 6 0 6 0 ------ /trunk/scripts/build/libc/glibc.sh | 4 0 4 0 ---- /trunk/scripts/build/libc/uClibc.sh | 4 0 4 0 ---- 3 files changed, 14 deletions(-)
* Get rid of all stuff related to building a /delivery' traball:Yann E. MORIN"2009-01-031-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | - building a delivery tarball has long been broken (since crostool-Ng is installable) - get rid of implied do_print_filename, that can be mis-leading now tarballs can not be built /trunk/scripts/build/kernel/bare-metal.sh | 4 0 4 0 ---- /trunk/scripts/build/kernel/linux.sh | 4 0 4 0 ---- /trunk/scripts/build/tools/000-template.sh | 11 0 11 0 ----------- /trunk/scripts/build/tools/100-libelf.sh | 4 0 4 0 ---- /trunk/scripts/build/tools/200-sstrip.sh | 11 1 10 0 +---------- /trunk/scripts/build/binutils.sh | 4 0 4 0 ---- /trunk/scripts/build/cc/gcc.sh | 5 0 5 0 ----- /trunk/scripts/build/debug/000-template.sh | 11 0 11 0 ----------- /trunk/scripts/build/debug/100-dmalloc.sh | 4 0 4 0 ---- /trunk/scripts/build/debug/400-ltrace.sh | 4 0 4 0 ---- /trunk/scripts/build/debug/300-gdb.sh | 7 0 7 0 ------- /trunk/scripts/build/debug/500-strace.sh | 4 0 4 0 ---- /trunk/scripts/build/debug/200-duma.sh | 4 0 4 0 ---- /trunk/scripts/build/libc/none.sh | 5 0 5 0 ----- /trunk/scripts/build/libc/glibc.sh | 10 0 10 0 ---------- /trunk/scripts/build/libc/uClibc.sh | 6 0 6 0 ------ /trunk/scripts/build/libc/eglibc.sh | 10 0 10 0 ---------- /trunk/scripts/build/gmp.sh | 6 0 6 0 ------ /trunk/scripts/build/mpfr.sh | 6 0 6 0 ------ /trunk/docs/overview.txt | 9 0 9 0 --------- 20 files changed, 1 insertion(+), 128 deletions(-)
* Build and install a uClibc cross-ldd.Yann E. MORIN"2008-11-171-1/+27
| | | | | | | Based on a patch by Joachim NILSSON: http://sourceware.org/ml/crossgcc/2008-11/msg00025.html /trunk/scripts/build/libc/uClibc.sh | 28 27 1 0 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-)
* Enable uClibc parallel build for those versions supporting it.Yann E. MORIN"2008-11-011-5/+7
| | | | | | /trunk/scripts/build/libc/uClibc.sh | 12 7 5 0 +++++++----- /trunk/config/libc/uClibc.in | 9 9 0 0 +++++++++ 2 files changed, 16 insertions(+), 5 deletions(-)
* Enablelocales when requested to do so.Yann E. MORIN"2008-11-011-1/+9
| | | | | | | Original patch by Thomas PETAZZONI, with soe improvement by myself. /trunk/scripts/build/libc/uClibc.sh | 10 9 1 0 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
* Only install headers when installing uClibc headers.Yann E. MORIN"2008-11-011-5/+5
| | | | | /trunk/scripts/build/libc/uClibc.sh | 10 5 5 0 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)