Makefile: Fix the generation of locales
The -s option is only mandatory for the charmap, else the filename is always empty and nothing is generated. Signed-off-by: Thierry Bultel <thierry.bultel@wanadoo.fr> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
b35acfffbd
commit
ea27d6e929
2
Makefile
2
Makefile
@ -554,7 +554,7 @@ ifneq ($(GENERATE_LOCALE),)
|
||||
target-generatelocales: host-localedef
|
||||
$(Q)mkdir -p $(TARGET_DIR)/usr/lib/locale/
|
||||
$(Q)for locale in $(GENERATE_LOCALE) ; do \
|
||||
inputfile=`echo $${locale} | cut -f1 -d'.' -s` ; \
|
||||
inputfile=`echo $${locale} | cut -f1 -d'.'` ; \
|
||||
charmap=`echo $${locale} | cut -f2 -d'.' -s` ; \
|
||||
if test -z "$${charmap}" ; then \
|
||||
charmap="UTF-8" ; \
|
||||
|
Loading…
Reference in New Issue
Block a user