From 1990e79f1439830291cac58f1fe6525cc68df637 Mon Sep 17 00:00:00 2001 From: Fabio Porcedda Date: Fri, 18 Apr 2014 15:07:32 +0200 Subject: [PATCH] Makefile: target-generatelocales: add toolchain dependency 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 Signed-off-by: Thomas Petazzoni --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c33368a9ce..d10da9d395 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'.'` ; \