diff options
| author | tbultel <tbultel@basystemes.fr> | 2013-09-20 10:35:46 +0200 |
|---|---|---|
| committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-09-20 10:48:44 +0200 |
| commit | ea27d6e929414e7af438836f3dde49076b1aa316 (patch) | |
| tree | ffa36c91357d283604afead47072adba078ba408 | |
| parent | b35acfffbd6667e2ce7cc116183585b543fbf488 (diff) | |
| download | buildroot-ea27d6e929414e7af438836f3dde49076b1aa316.tar.gz buildroot-ea27d6e929414e7af438836f3dde49076b1aa316.zip | |
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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" ; \ |

