summaryrefslogtreecommitdiff
path: root/extra/scripts
AgeCommit message (Collapse)Author
2014-01-07buildsys: fixup unifdef state in skiphashBernhard Reutner-Fischer
attempt to fix unifdef swallowing -f defundefile lines Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-11-19buildsys: update unifdefBernhard Reutner-Fischer
sync up to 55501a61dd257e941d53f175350ee52fc6ff2866 (2.9 + refactor keyword and symbol matching) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-04-04relinfo.pl: use correct interpreterBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-04-04relinfo.pl: silence warningBernhard Reutner-Fischer
$* is no longer supported at extra/scripts/relinfo.pl line 2. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-02-20scripts: remove CVS header from getentBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-01-26buildsys: gen_bits_syscall_h: do not leave undefined SYS_xxx aroundMike Frysinger
If we end up doing '#undef __NR_xxx', we don't want to leave the corresponding SYS_xxx symbol defined. So undef it too. For example, with the ARM EABI layer, we have a bunch of legacy syscalls that we define early on and then later undefine (such as __NR_utime). But we left SYS_utime defined so code that tests for that define before using it would be broken (since it'd be defined to a non-existent symbol). URL: https://bugs.gentoo.org/425006 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-01-26buildsys: gen_bits_syscall_h: clean up scriptMike Frysinger
Just style changes here to make it more readable. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-01-26buildsys: gen_bits_syscall_h: remove top_builddir referencesMike Frysinger
This script hasn't used this var in a while (it writes to stdout), so drop all mention/usage of it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
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.