Age | Commit message (Collapse) | Author |
|
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>
|
|
This matches a similar change made to glibc.
No functional changes here.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
Commit ae14cd49a8da6e62e35636 broke testing of multiple arches in one go.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
Also incooperate vapier's suggestion on how to set REAL_CC once
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
|
|
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
|
|
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>
|
|
* 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>
|
|
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>
|
|
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>
|
|
This reverts commit 6625518cd6894338937a74ca6b9187b7b8167b03.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
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>
|
|
pending some explanation from gurus. Expanded comment explaining
_why_ we try to install these exact directories.
|
|
this seem to be not needed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
blocks too (and similar)
|
|
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
|
|
glibc does not have them, so should be safe.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rm -f STOP ; ARCH=i386 nohup extra/scripts/randconfig.sh &
if you want to stop it, touch STOP
|
|
Filter them out when installing headers.
Tested by building up bfin-*linux toolchains and building our copy of
uClinux-dist.
|
|
|
|
for 2.4 kernels.
|
|
It is "make install_kernel_headers" now.
|
|
|
|
|
|
installed in target dir, and dont try to copy them again
|
|
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.
|
|
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]
|
|
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.
|
|
|