summaryrefslogtreecommitdiff
path: root/extra/scripts
AgeCommit message (Collapse)Author
2013-01-26buildsys: allow the toolchain to search its dirs for kernel headersMike Frysinger
Setting KERNEL_HEADERS up to the exact path all the time is a pita, especially when the toolchain is often times already configured to do the right thing. So if the user has set that to "", don't force any specific paths. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-11-18Replace FSF snail mail address with URLsMike Frysinger
This matches a similar change made to glibc. No functional changes here. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-08MAKEALL: add more arch aliasesMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-08MAKEALL: fix cross-compiler lookup breakage after CROSS cleanupMike Frysinger
Commit ae14cd49a8da6e62e35636 broke testing of multiple arches in one go. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-08MAKEALL: also check for gnu suffixed toolchains tooMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-01-27buildsys: add cppcheck wrapper script (correct one)Bernhard Reutner-Fischer
Also incooperate vapier's suggestion on how to set REAL_CC once Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-01-18buildsys: add cppcheck wrapper scriptBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-11-25buildsys: s/CROSS/CROSS_COMPILE/gCarmelo Amoroso
Use CROSS_COMPILE instead of CROSS as other projects are doing (i.e. kernel, busybox, buildroot). CROSS is still supported for backward compatibility only Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2010-02-19Add dummy tcb-offsets.hKhem Raj
* 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>
2010-01-21randconfig.sh: set number of make jobsBernhard Reutner-Fischer
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>
2009-11-22install_headers.sh: make more user friendlyMike Frysinger
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>
2009-09-14Revert "default ?conf to native arch"Bernhard Reutner-Fischer
This reverts commit 6625518cd6894338937a74ca6b9187b7b8167b03. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-08-25default ?conf to native archBernhard Reutner-Fischer
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>
2009-07-21s/UCLIBC_INTERNAL/_LIBC/gDenys Vlasenko
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>
2009-07-20MAKEALL: find kernel headers betterMike Frysinger
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>
2009-07-20unifdef: implement err.h funcs locallyMike Frysinger
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>
2009-07-09MAKEALL: expand cross-compiler arch searchMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-07-05MAKEALL: start a quick build test helper scriptMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-07-03ignore generated unifdefMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-06-28stop installing/screwing with linux-headersMike Frysinger
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>
2009-04-19Reinstate {drm,mtd,rdma,sound,video} directory installtionDenis Vlasenko
pending some explanation from gurus. Expanded comment explaining _why_ we try to install these exact directories.
2009-04-18install_kernel_headers: comment out copying of extra directories,Denis Vlasenko
this seem to be not needed
2009-04-06apply getline() fix from linux kernelMike Frysinger
2009-02-19Install other linux kernel header subdirectories tooDenis Vlasenko
2009-02-13strict POSIX requires a path to specified to `find`Mike Frysinger
2009-01-21- remove unavailable functionality upon request (Peter Mazinger)Bernhard Reutner-Fischer
2009-01-19extra/scripts/relative_path.sh: fix itDenis Vlasenko
2008-12-31Merge some pre-work from branch, needed by NPTL.Khem Raj
2008-12-28fix another corner case in unifdefDenis Vlasenko
2008-12-28patch up unifdef to recognize and remove "#if defined _LIBC && something"Denis Vlasenko
blocks too (and similar)
2008-12-27ctype: remove some trivial macros from ctype.h;Denis Vlasenko
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
2008-12-13Do not install libc-XXXX.h files in "make install".Denis Vlasenko
glibc does not have them, so should be safe.
2008-10-10- .. and don't install the config dir, tooBernhard Reutner-Fischer
2008-10-10- remove bashism; don't install config/* to the targetBernhard Reutner-Fischer
2008-09-26- remove all *_hidden_proto(...) on install_headersBernhard Reutner-Fischer
2008-09-25- expand documentationBernhard Reutner-Fischer
2008-09-24- remove debug cruftBernhard Reutner-Fischer
2008-09-24- deal with ARM specific syscalls. Closes #2894Bernhard Reutner-Fischer
2008-09-16- add script to generate lots of failing (random)configsBernhard Reutner-Fischer
rm -f STOP ; ARCH=i386 nohup extra/scripts/randconfig.sh & if you want to stop it, touch STOP
2008-06-08In string.h, move libc_hidden_proto next to the corresponding declaration.Bernd Schmidt
Filter them out when installing headers. Tested by building up bfin-*linux toolchains and building our copy of uClinux-dist.
2008-05-21- Wrap overlong comment-lines. No object-code changesBernhard Reutner-Fischer
2008-05-09fix "make install_kernel_headers" to not create asm-genericDenis Vlasenko
for 2.4 kernels.
2008-05-07Split kernel headers installation from "make install_headers".Denis Vlasenko
It is "make install_kernel_headers" now.
2008-05-01install_headers: do not exit if unifdef "fails", it's okDenis Vlasenko
2008-04-30install_headers: properly quote thingsDenis Vlasenko
2008-04-30install_headers.sh: detect a case when kernel headers are alreadyDenis Vlasenko
installed in target dir, and dont try to copy them again
2008-04-27build system: improve install_headers.Denis Vlasenko
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.
2008-01-05zen in #938 writes:Mike Frysinger
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]
2007-03-17Have Makefile.in call conf-header.sh instead of having kconfig call it Rob Landley
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.
2007-02-18simple script for counting relocsMike Frysinger