svn commit: trunk/uClibc

aldot at uclibc.org aldot at uclibc.org
Thu Jan 17 19:29:02 UTC 2008


Author: aldot
Date: 2008-01-17 11:29:02 -0800 (Thu, 17 Jan 2008)
New Revision: 20864

Log:
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)


Modified:
   trunk/uClibc/Makefile.in


Changeset:
Modified: trunk/uClibc/Makefile.in
===================================================================
--- trunk/uClibc/Makefile.in	2008-01-17 19:11:18 UTC (rev 20863)
+++ trunk/uClibc/Makefile.in	2008-01-17 19:29:02 UTC (rev 20864)
@@ -91,6 +91,12 @@
 			$(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 @@
 	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 @@
 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 \




More information about the uClibc-cvs mailing list