summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-02-23 16:32:50 -0800
committerKhem Raj <raj.khem@gmail.com>2010-02-23 16:32:50 -0800
commitef18cfe8ebab25f5ef92e81956f50e2dc57df602 (patch)
tree53c24e1f03fcdaf43402713ff5e0792ee745b538
parent046035ecde92262d96eff2192ba3cda716f04909 (diff)
pregen-headers: Add new target which depends on headers.
* This target is necessary to serialize making of headers before pregen-headers and pregen-headers before the rest of build Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 5c2027236..47cdc30ad 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -159,10 +159,10 @@ headers-y += $(target-headers-sysdep)
headers: $(top_builddir)include/bits/uClibc_config.h $(top_builddir)include/bits/sysnum.h
subdirs: $(addprefix $(top_builddir),$(subdirs))
-pregen: headers subdirs
+pregen-headers: headers
$(Q)$(MAKE) $(pregen-headers-y)
+pregen: pregen-headers subdirs
$(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)
@$(disp_gen)