[Buildroot] [git commit] Makefile: Fix the generation of locales
Peter Korsgaard
jacmet at sunsite.dk
Fri Sep 20 08:48:44 UTC 2013
commit: http://git.buildroot.net/buildroot/commit/?id=ea27d6e929414e7af438836f3dde49076b1aa316
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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 at wanadoo.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
Makefile | 2 +-
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" ; \
More information about the buildroot
mailing list