mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
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 <fabio.porcedda@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
d174c6f8b6
commit
1990e79f14
2
Makefile
2
Makefile
@@ -598,7 +598,7 @@ ifneq ($(GENERATE_LOCALE),)
|
|||||||
# data comes preferably from the toolchain, or if the toolchain does
|
# data comes preferably from the toolchain, or if the toolchain does
|
||||||
# not have them (Linaro toolchains), we use the ones available on the
|
# not have them (Linaro toolchains), we use the ones available on the
|
||||||
# host machine.
|
# host machine.
|
||||||
target-generatelocales: host-localedef
|
target-generatelocales: host-localedef toolchain
|
||||||
$(Q)mkdir -p $(TARGET_DIR)/usr/lib/locale/
|
$(Q)mkdir -p $(TARGET_DIR)/usr/lib/locale/
|
||||||
$(Q)for locale in $(GENERATE_LOCALE) ; do \
|
$(Q)for locale in $(GENERATE_LOCALE) ; do \
|
||||||
inputfile=`echo $${locale} | cut -f1 -d'.'` ; \
|
inputfile=`echo $${locale} | cut -f1 -d'.'` ; \
|
||||||
|
|||||||
Reference in New Issue
Block a user