[Buildroot] [PATCH 2/2] Makefile: target-generatelocales: add toolchain dependency
Fabio Porcedda
fabio.porcedda at gmail.com
Fri Apr 18 13:07:32 UTC 2014
The target depends on the toolchain so add it as a dependency.
This also fix the support to top-level parallel make.
Signed-off-by: Fabio Porcedda <fabio.porcedda at gmail.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 53282ae..e204038 100644
--- a/Makefile
+++ b/Makefile
@@ -598,7 +598,7 @@ ifneq ($(GENERATE_LOCALE),)
# data comes preferably from the toolchain, or if the toolchain does
# not have them (Linaro toolchains), we use the ones available on the
# host machine.
-target-generatelocales: host-localedef
+target-generatelocales: host-localedef toolchain
$(Q)mkdir -p $(TARGET_DIR)/usr/lib/locale/
$(Q)for locale in $(GENERATE_LOCALE) ; do \
inputfile=`echo $${locale} | cut -f1 -d'.'` ; \
--
1.9.2
More information about the buildroot
mailing list