summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-10-02 05:21:27 +0000
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-10-02 05:21:27 +0000
commitf35ba0de589702004c97f5c315866beeacddf658 (patch)
tree762bf755cb46eb5e795016181850c55078df6000
parent9efc3f5022ecc56db919d7907e0133e7b53ffedb (diff)
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@atmel.com>
-rw-r--r--Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 6fcc819fe..05a7d7cb8 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -21,6 +21,11 @@ sub_headers := headers
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