summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-01-17 19:29:02 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-01-17 19:29:02 +0000
commit861243899e7647fdff58763c4851c162fc2bdf57 (patch)
tree1538064e9783745f3254375f0b084dc47295b3cf /Makefile.in
parent23656d08e2055c62b09138f9330c15f088d74127 (diff)
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)
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index f65bc82df..a0969c1fc 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -91,6 +91,12 @@ headers: include/bits/uClibc_config.h
$(LN) -fs $$i .; \
done; \
fi
+ifeq ($(UCLIBC_HAS_LOCALE),y)
+ $(MAKE) -C extra/locale locale_headers
+endif
+
+
+pregen: headers
$(Q)\
set -e; \
cd $(top_builddir); \
@@ -102,11 +108,7 @@ headers: include/bits/uClibc_config.h
else \
mv -f $$tmp include/bits/sysnum.h; \
fi
-ifeq ($(UCLIBC_HAS_LOCALE),y)
- $(MAKE) -C extra/locale locale_headers
-endif
-pregen: headers
install: install_runtime install_dev
@@ -114,7 +116,7 @@ install: install_runtime install_dev
RUNTIME_PREFIX_LIB_FROM_DEVEL_PREFIX_LIB=$(shell $(top_srcdir)extra/scripts/relative_path.sh $(DEVEL_PREFIX)lib $(RUNTIME_PREFIX)lib)
# Installs header files.
-install_headers:
+install_headers: headers
$(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)include
printf ".svn\n.cvsignore\nCVS\n" > tar_exclude ; \
$(TAR) -chf - -X tar_exclude include \