summaryrefslogtreecommitdiffstats
path: root/extra/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Add dummy tcb-offsets.hKhem Raj2010-02-191-1/+1
| | | | | | | | | | * This file is used during creation of real tcb-offsets.h because lowlevellock.h from i386 also include tcb-offsets.h and it is inturn included by tls.h and tls.h is used in the dummy C file generated from tcb-offsets.sym, it created a catch-22 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* randconfig.sh: set number of make jobsBernhard Reutner-Fischer2010-01-211-3/+13
| | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> (cherry picked from commit c13dd47ecbbdb841042e1370c8011e84634db0e4) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* install_headers.sh: make more user friendlyMike Frysinger2009-11-221-10/+17
| | | | | | | Make it easier to run this by hand and don't abort when recursive chown and chmod fail as these often aren't due to uClibc settings. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Revert "default ?conf to native arch"Bernhard Reutner-Fischer2009-09-141-1/+1
| | | | | | This reverts commit 6625518cd6894338937a74ca6b9187b7b8167b03. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* default ?conf to native archBernhard Reutner-Fischer2009-08-251-1/+1
| | | | | | | Default is now the native arch, you can start a fresh .config via 'make ARCH=ia64 menuconfig'. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* s/UCLIBC_INTERNAL/_LIBC/gDenys Vlasenko2009-07-211-1/+0
| | | | | | | | | | Undo my old mistake. I added UCLIBC_INTERNAL define, but later I realized _LIBC is doing exactly the same thing. This change converts all usages of UCLIBC_INTERNAL to _LIBC, removing all instances of UCLIBC_INTERNAL. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* MAKEALL: find kernel headers betterMike Frysinger2009-07-201-1/+12
| | | | | | | Work with pre-sysroot compilers that have kernel headers available in the standard location, and let people force the location manually. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* unifdef: implement err.h funcs locallyMike Frysinger2009-07-201-1/+7
| | | | | | | | | Since the err.h functions are optional in uClibc, make sure we can rebuild ourselves if support is disabled. URL: https://bugs.busybox.net/show_bug.cgi?id=257 Reported-by: Michael Deutschmann <michael@talamasca.ocis.net> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* MAKEALL: expand cross-compiler arch searchMike Frysinger2009-07-091-9/+18
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* MAKEALL: start a quick build test helper scriptMike Frysinger2009-07-051-0/+123
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ignore generated unifdefMike Frysinger2009-07-031-0/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* stop installing/screwing with linux-headersMike Frysinger2009-06-281-85/+0
| | | | | | | | | It is not uClibc's business to make sure the user's toolchain is sane and has proper kernel headers configured/installed. If they don't, then they need to fix their toolchain, we don't need to try and magically do it for them. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Reinstate {drm,mtd,rdma,sound,video} directory installtionDenis Vlasenko2009-04-191-11/+11
| | | | | | pending some explanation from gurus. Expanded comment explaining _why_ we try to install these exact directories.
* install_kernel_headers: comment out copying of extra directories,Denis Vlasenko2009-04-181-9/+11
| | | | | this seem to be not needed
* apply getline() fix from linux kernelMike Frysinger2009-04-061-5/+4
|
* Install other linux kernel header subdirectories tooDenis Vlasenko2009-02-191-1/+10
|
* strict POSIX requires a path to specified to `find`Mike Frysinger2009-02-131-1/+1
|
* - remove unavailable functionality upon request (Peter Mazinger)Bernhard Reutner-Fischer2009-01-211-1/+1
|
* extra/scripts/relative_path.sh: fix itDenis Vlasenko2009-01-191-1/+4
|
* Merge some pre-work from branch, needed by NPTL.Khem Raj2008-12-311-0/+33
|
* fix another corner case in unifdefDenis Vlasenko2008-12-282-2/+8
|
* patch up unifdef to recognize and remove "#if defined _LIBC && something"Denis Vlasenko2008-12-282-35/+160
| | | | | blocks too (and similar)
* ctype: remove some trivial macros from ctype.h;Denis Vlasenko2008-12-271-1/+6
| | | | | | | | | | | | remove __tolower and __toupper (they existed only in SOME configs!); remove usages of _tolower (some of them clearly buggy) from uclibc code; add a few more -U<define> options to unifdef pass over installed headers; document it on docs/wchar_and_locale.txt text data bss dec hex filename - 514963 2727 15396 533086 8225e lib/libuClibc-0.9.30-svn.so + 514888 2727 15396 533011 82213 lib/libuClibc-0.9.30-svn.so
* Do not install libc-XXXX.h files in "make install".Denis Vlasenko2008-12-131-6/+13
| | | | | glibc does not have them, so should be safe.
* - .. and don't install the config dir, tooBernhard Reutner-Fischer2008-10-101-1/+2
|
* - remove bashism; don't install config/* to the targetBernhard Reutner-Fischer2008-10-101-2/+1
|
* - remove all *_hidden_proto(...) on install_headersBernhard Reutner-Fischer2008-09-261-1/+1
|
* - expand documentationBernhard Reutner-Fischer2008-09-251-0/+8
|
* - remove debug cruftBernhard Reutner-Fischer2008-09-241-1/+1
|
* - deal with ARM specific syscalls. Closes #2894Bernhard Reutner-Fischer2008-09-241-7/+7
|
* - add script to generate lots of failing (random)configsBernhard Reutner-Fischer2008-09-161-0/+26
| | | | | rm -f STOP ; ARCH=i386 nohup extra/scripts/randconfig.sh & if you want to stop it, touch STOP
* In string.h, move libc_hidden_proto next to the corresponding declaration.Bernd Schmidt2008-06-081-1/+2
| | | | | | | Filter them out when installing headers. Tested by building up bfin-*linux toolchains and building our copy of uClinux-dist.
* - Wrap overlong comment-lines. No object-code changesBernhard Reutner-Fischer2008-05-211-4/+6
|
* fix "make install_kernel_headers" to not create asm-genericDenis Vlasenko2008-05-091-7/+11
| | | | | for 2.4 kernels.
* Split kernel headers installation from "make install_headers".Denis Vlasenko2008-05-072-39/+70
| | | | | It is "make install_kernel_headers" now.
* install_headers: do not exit if unifdef "fails", it's okDenis Vlasenko2008-05-011-1/+4
|
* install_headers: properly quote thingsDenis Vlasenko2008-04-301-3/+4
|
* install_headers.sh: detect a case when kernel headers are alreadyDenis Vlasenko2008-04-301-20/+26
| | | | | installed in target dir, and dont try to copy them again
* build system: improve install_headers.Denis Vlasenko2008-04-272-0/+1091
| | | | | | | | | | | | | Now it uses dedicated script instead of inline makefile commands, which helps readability. It also installs asm[-generic] and linux subdirs from kernel headers (previously it had to be done separately). Lastly, it passes each uclibc header thru unifdef, which strips #ifdef UCLIBC_INTERNAL conditional from headers. Currently it's a no-op (no such #ifders in tree). The plan is to have libc_hidden_proto(foo) migrated to headers and guard them by these #ifdefs.
* zen in #938 writes:Mike Frysinger2008-01-051-61/+31
| | | | | | | | I had occasion to look at the uClibc script "getent" and felt compelled to clean out the cargo-cult programming style. I believe that this version is clearer, and I've added some minor features while I was in there: * usage clause, if no arguments or "--help" requested * original version appears to have been intending to "exit 2" on failure to match, but didn't * basic, probably good enough, support for ethers and netgroups * faster ;-) [as if that matters for this script]
* Have Makefile.in call conf-header.sh instead of having kconfig call it Rob Landley2007-03-171-0/+27
| | | | | | via system(). Also move it to extra/scripts since it's a uClibc build script, not part of upstream kconfig. Adjust the "grabbing a new kconfig snapshot" procedure accordingly.
* simple script for counting relocsMike Frysinger2007-02-181-0/+78
|
* we just want the kernel headers, not the whole kernel source ... so people ↵Mike Frysinger2006-12-121-1/+1
| | | | may need to update their paths slightly
* kill off the need for fix_includes.sh by utilizing KERNEL_SOURCE directlyMike Frysinger2006-12-112-161/+4
|
* set some default vars to prevent env pollutionMike Frysinger2006-12-111-0/+2
|
* Sergey Lapin says the undefined syscall numbers from unistd.h do not get ↵Khem Raj2006-10-071-3/+5
| | | | propogated into generated sysnum.h.
* remove version checking code and add some more commentsMike Frysinger2006-09-101-35/+17
|
* make this stuff actually readableMike Frysinger2006-09-091-134/+134
|
* - only link asm-generic if it exists.Bernhard Reutner-Fischer2006-08-241-3/+3
| | | | PS: test for existence on Slowaris was disfunctional, last time i looked. Shouldn't matter much here, though..
* Add common part of linker scripts to a file and make use of itPeter S. Mazinger2006-03-091-0/+3
|