283 Commits

Author SHA1 Message Date
Bernhard Reutner-Fischer
dce2384770 - fix toggling thread implementation.
Previously the old headers were left in include/ leading to spurious compile failures.
  This is ugly as it can get (we resort to sneaking -L in for the moment) but
  good enough for now. The worst thing which can happen is that we ln these
  headers once per invocation of make, nothing more.
  If some installation of make(1) complains about the "-L" then wrap it in
  ifneq ($(findstring check-symlink,$(.FEATURES)),)
2008-10-17 14:05:53 +00:00
Bernhard Reutner-Fischer
b46830f8b2 - fix locale dependencies and make default locale generation less verbose.
The verbosity can be set to the previous level by passing V=2 to make.
2008-10-14 15:16:20 +00:00
Bernhard Reutner-Fischer
8e36b7ce60 - add signalfd() 2008-10-10 17:10:26 +00:00
Bernhard Reutner-Fischer
d0bb3a0eb0 - remove suspicious_dependency 2008-10-10 13:09:59 +00:00
Bernhard Reutner-Fischer
73ebffadad - reinstate hostutils target
TODO: utils/* should be pulled in again to live in the normal buildsys..
2008-10-09 12:24:37 +00:00
Bernhard Reutner-Fischer
a291c2cf54 - fix bad r23573 from egtvedt 2008-10-08 21:22:38 +00:00
Bernhard Reutner-Fischer
6f98f3f2bb - fix building locale (pre- and generated, even parallel) 2008-10-08 18:40:40 +00:00
Bernhard Reutner-Fischer
4e885757e8 - add/use variables to make build-tools configurable 2008-10-08 14:05:03 +00:00
Hans-Christian Egtvedt
f35ba0de58 Ensure that headers are generated before libs
This patch makes libs: rule depend on pregen, that way all generated headers
are available before starting to compile. This makes the build process parallel
safe.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-02 05:21:27 +00:00
Rob Landley
615aed0818 Dependencies tweak: make install should depend on all, or
"make -j 3 all install" can't work without two separate invocations of make.
2008-09-27 22:00:34 +00:00
Bernhard Reutner-Fischer
def602f4d2 - revert r23469. If gnu getopt is disabled, then there is no getopt.h.
In these cases the getopt stuff comes from unistd.h (which includes bits/getopt.h for us)
2008-09-26 15:33:27 +00:00
Bernhard Reutner-Fischer
f7728cf6c9 - both getopt gnu and susv3 want {bits/,}getopt.h installed. Closes #1297 2008-09-24 14:45:57 +00:00
Bernhard Reutner-Fischer
c14e3c99f7 - do not attempt to rm twice
- clean targets are supposed to clean independently of any .config
2008-09-16 08:19:07 +00:00
Bernhard Reutner-Fischer
a2a5810411 - the help target is phony 2008-09-11 15:44:23 +00:00
Ricard Wanderlof
7253e71055 Move ifaddrs.h from uClibc-internal location libc/inet/ to include/, and make
it conditionally included among the installed header files depending on
UCLIBC_HAS_AI_ADDRCONFIG.
2008-08-28 07:33:17 +00:00
Bernhard Reutner-Fischer
be56824c13 check and test have to depend on test_compile 2008-07-11 15:54:48 +00:00
Carmelo Amoroso
9be49589b1 Fix the test build system by installing headers on a local folder
instead of using internal headers.

Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-07-08 08:05:44 +00:00
Carmelo Amoroso
ba19233fb2 Make locale_headers only when doing pregen and not headers
due to dependencies against sysnum.h

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-06-11 18:29:48 +00:00
Bernhard Reutner-Fischer
f2420be7f1 - Improve prerequisites and avoid spurious reconfigurations.
More details: http://uclibc.org/lists/uclibc/2008-June/019509.html
2008-06-09 17:18:53 +00:00
Bernhard Reutner-Fischer
2e91f39c31 - revert r22233 2008-06-05 13:47:35 +00:00
Bernhard Reutner-Fischer
07beb34d51 - make libcrypt optional. Untested. 2008-06-05 13:46:47 +00:00
Bernhard Reutner-Fischer
64ba3e5e08 - switching thread impls without makeing clean before left the objs of the
previously selected impl lying around on a distclean. Make sure that this
  does not happen.
2008-06-05 12:29:36 +00:00
Bernhard Reutner-Fischer
583c765a5c - do a defconfig for the given arch, not unconditionally for alpha 2008-06-05 11:48:10 +00:00
Bernhard Reutner-Fischer
b5466338c6 - remove duplicate removing of ustat.h 2008-06-04 17:34:25 +00:00
Bernhard Reutner-Fischer
4cc4b30426 - adds several config-options to allow for turning off certain features
like
  o UCLIBC_HAS_GNU_ERROR
  o UCLIBC_HAS_BSD_ERR
  o UCLIBC_HAS_PTY
  o UCLIBC_HAS_GETPT (1)
  o UCLIBC_SYSCALL_STUBS
  o UCLIBC_SYSCALL_STUB_WARNING
  o UCLIBC_LINUX_SPECIFIC (2)
  o UCLIBC_BSD_SPECIFIC (3)
  o UCLIBC_NTP_LEGACY (4)
  o UCLIBC_SV4_DEPRECATED (5)
  o UCLIBC_HAVE_REALTIME (6)
  o UCLIBC_HAVE_ADVANCED_REALTIME (7)
  o UCLIBC_HAVE_EPOLL (8)
  o UCLIBC_HAVE_XATTR (9)
  o UCLIBC_HAVE_PROFILING (10)

(1) make non-standard getpt optional and implement standard posix_openpt
(2) fstatfs(), inotify_*(), ioperm(), iopl(), madvise(), modify_ldt(),
    personality()
    ppoll(), setresuid()
(3) mincore(), getdomainname(), setdomainname()
(4) ntp_adjtime(), ntp_gettime() aliases
(5) ustat() [use statfs(2) in your code instead]
(6) All marked as "(REALTIME)" in SUSv3
(7) All marked as "(ADVANCED REALTIME)" in SUSv3
(8) epoll_create(), epoll_ctl(), epoll_wait()
(9) all Extended Attributes
(10) helpers for gcc's -finstrument-functions

- Fixes _dl_exit()
- Implements sleep(3) for !UCLIBC_HAVE_REALTIME
- Implements usleep(3) for !UCLIBC_HAVE_REALTIME
- adds #warning about incorrect posix_fadvise{,64}()
- removes unused and unwanted uselib()

Net outcome is that an allnoconfig with HAVE_SHARED is now about 88k instead 
of formerly 130k.
2008-06-03 08:11:56 +00:00
Denis Vlasenko
999f12709a build system: stop creating ugly double-slash symlinks like
fenv.h -> ../../libc/sysdeps/linux/i386/bits//fenv.h
2008-06-01 21:51:12 +00:00
Bernhard Reutner-Fischer
20ef4ea02a - rm all deps on distclean 2008-05-31 17:15:37 +00:00
Denis Vlasenko
4668e42b90 Makefile.kconfig: whitespace fix
top-level Makefile.in: add TODO
2008-05-31 06:40:48 +00:00
Bernhard Reutner-Fischer
82ffefbd30 - do not delete the libs i keep for size-comparison
Explicitely list the directories in which we rm the static(only?) libs.
2008-05-21 07:57:38 +00:00
Denis Vlasenko
aea115e924 Split kernel headers installation from "make install_headers".
It is "make install_kernel_headers" now.
2008-05-07 13:03:32 +00:00
Carmelo Amoroso
a0adf1fefe Add unifdef host tool to clean target 2008-05-07 09:17:42 +00:00
Denis Vlasenko
8602e0ef80 build system: improve install_headers.
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-04-27 23:10:00 +00:00
Carmelo Amoroso
b502511cd1 Call explicitely objclean-y when doing build cleanup.
Remove 'find' command. It makes cleanup faster too.

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-03-05 14:37:55 +00:00
Bernhard Reutner-Fischer
bce5bba7a0 - add C99 floating point environment, rounding and exception handling functions
for i386. UCLIBC_HAS_FENV
2008-01-19 15:23:14 +00:00
Bernhard Reutner-Fischer
861243899e bits/sysnum.h needs a cross compiler to be built. Fortunately, this
header is not needed to build gcc. Move generation of this header.
(Yann E. MORIN)
2008-01-17 19:29:02 +00:00
Bernd Schmidt
640cb909d1 Certain configure scripts test for presence of dlfcn.h. Don't install it
if !HAVE_SHARED.
2007-11-22 17:05:28 +00:00
Carmelo Amoroso
693245823c Fix build system to generate locale data instead of using pregenerated ones 2007-11-09 13:04:26 +00:00
Mike Frysinger
6bc45b2d57 #1273 if EXTRAVERSION is set, make sure we respect it 2007-03-19 09:49:04 +00:00
Rob Landley
046781273e Have Makefile.in call conf-header.sh instead of having kconfig call it
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-03-17 02:45:59 +00:00
Mike Frysinger
f50cd1662f touchup new kconfig handling so we dont constantly rebuild 2007-02-21 08:27:01 +00:00
Bernhard Reutner-Fischer
611a59f6f5 - kbuild update broke uClibc's configuration. It complains about
include/bits/uClibc_config.h since there is no include/bits (yet). Depend on it.
2007-02-15 09:59:59 +00:00
Joakim Tjernlund
e2581aecf5 Revert previous commit as it is unclear if it is needed. 2007-02-14 19:53:54 +00:00
Joakim Tjernlund
50ca754115 Hopefully fix the earlier broken if [ -n $(HEADERS_BITS_SUBARCH) ]
test by adding quotes. From Steve Papacharalambous.
2007-02-14 14:12:29 +00:00
Mike Frysinger
d5e463c5e8 add silentoldconfig target 2007-02-13 20:11:42 +00:00
Peter Kjellerstedt
6c6e8d6eda Do not produce spurious "/bin/sh: [: too many arguments" if
$(HEADERS_BITS_SUBARCH) is empty (which it most likely is).
2007-02-13 09:47:44 +00:00
Joakim Tjernlund
dcf241189a Rehash the PowerPC e500 port to avoid creating symlinks
in the powerpc arch code and make more code common with
classic PowerPC. From Steve Papacharalambous

Lets hope I didn't break something.
2007-02-12 21:57:57 +00:00
Joakim Tjernlund
8ceaf7c737 Add support for PowerPC e500, libc part only.
Math support to be done.
From Steve Papacharalambous, stevep@freescale.com
2007-02-04 21:25:42 +00:00
Eric Andersen
06969fa42b use sane line breaks 2007-02-02 02:20:59 +00:00
Mike Frysinger
49c57df050 replace bits/syscalls.h with a comment ... an empty file makes people think this is a bug rather than by design 2007-02-02 01:42:51 +00:00
Mike Frysinger
28f3c7c913 drive home the point people should not be using _syscall#() macros 2007-02-01 07:30:37 +00:00