summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortbultel <tbultel@basystemes.fr>2013-09-20 08:35:46 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-09-20 08:48:44 (GMT)
commitea27d6e929414e7af438836f3dde49076b1aa316 (patch)
treeffa36c91357d283604afead47072adba078ba408
parentb35acfffbd6667e2ce7cc116183585b543fbf488 (diff)
downloadbuildroot-ea27d6e929414e7af438836f3dde49076b1aa316.tar.gz
buildroot-ea27d6e929414e7af438836f3dde49076b1aa316.tar.bz2
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>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6ef0edc..71d94ad 100644
--- a/Makefile
+++ b/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" ; \