svn commit: trunk/uClibc

egtvedt at uclibc.org egtvedt at uclibc.org
Thu Oct 2 05:21:27 UTC 2008


Author: egtvedt
Date: 2008-10-01 22:21:27 -0700 (Wed, 01 Oct 2008)
New Revision: 23573

Log:
Ensure that headers are generated before libs

This patch makes libs: rule depend on pregen, that way all generated headers
are available before starting to compile. This makes the build process parallel
safe.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt at atmel.com>



Modified:
   trunk/uClibc/Makefile.in


Changeset:
Modified: trunk/uClibc/Makefile.in
===================================================================
--- trunk/uClibc/Makefile.in	2008-10-01 14:58:13 UTC (rev 23572)
+++ trunk/uClibc/Makefile.in	2008-10-02 05:21:27 UTC (rev 23573)
@@ -21,6 +21,11 @@
 
 ifeq ($(HAVE_DOT_CONFIG),y)
 
+# To be able to build the libs rule, we must first have the generated headers.
+# This is needed when locale support is enabled, but also ensures that the
+# build process is parallel safe.
+libs: pregen
+
 all: pregen libs
 
 # In this section, we need .config




More information about the uClibc-cvs mailing list