From: Fabio Porcedda Date: Fri, 18 Apr 2014 13:07:32 +0000 (+0200) Subject: Makefile: target-generatelocales: add toolchain dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1990e79f1439830291cac58f1fe6525cc68df637;p=buildroot.git 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 --- 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'.'` ; \