summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-10-17 13:28:17 -0700
committerAustin Foxley <austinf@cetoncorp.com>2009-10-17 13:28:17 -0700
commitc94314fa618c682646c07ddd914a5abb77346273 (patch)
tree6a67bc45a20f532bd698c0438140ba24945b7b14 /Makefile.in
parente58798e107d652644629a1daaa95d76430808d53 (diff)
build system changes needed for nptl
* add include dir for nptl * pregen nptl headers * add include dir to pick up subarchs * a few tweaks for test/* to match state of the code Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index affbe5321..65180f35e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -114,7 +114,8 @@ target-headers-sysdep := \
$(ALL_HEADERS_BITS_ARCH) \
$(ALL_HEADERS_BITS_SUBARCH) \
$(ALL_HEADERS_SYS_COMMON) \
- $(ALL_HEADERS_SYS_ARCH)
+ $(ALL_HEADERS_SYS_ARCH) \
+ $(ALL_HEADERS_BITS_PTHREAD)
$(top_builddir)include/fpu_control.h:
@$(disp_ln)
@@ -160,6 +161,14 @@ headers-y += $(target-headers-sysdep)
headers: $(top_builddir)include/bits/uClibc_config.h
subdirs: $(addprefix $(top_builddir),$(subdirs))
pregen: $(top_builddir)include/bits/sysnum.h headers subdirs
+ $(Q)$(if $(UCLIBC_HAS_LOCALE),$(MAKE) -C extra/locale locale_headers)
+ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y)
+ $(Q)$(MAKE) nptl_headers
+ifeq ($(shell $(CC) --help 2>&1 > /dev/null && echo yes),yes)
+ $(Q)$(MAKE) nptl_arch_headers
+ $(Q)$(MAKE) nptl_linux_headers
+endif
+endif
$(top_builddir)include/bits/sysnum.h: $(top_srcdir)extra/scripts/gen_bits_syscall_h.sh
$(Q)$(INSTALL) -d $(@D)