summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 39dd18cc1..90cb63159 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)
@@ -159,7 +160,8 @@ 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
+pregen: $(top_builddir)include/bits/sysnum.h headers subdirs $(pthread_pregen)
+ $(Q)$(if $(UCLIBC_HAS_LOCALE),$(MAKE) -C extra/locale locale_headers)
$(top_builddir)include/bits/sysnum.h: $(top_srcdir)extra/scripts/gen_bits_syscall_h.sh
$(Q)$(INSTALL) -d $(@D)