summaryrefslogtreecommitdiffstats
path: root/apps/lang/lang.make
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-06-09 23:04:42 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-06-09 23:04:42 +0200
commit4e41c6d9babc293a7b639c53f0687b650999cb60 (patch)
tree09d7c1c526b3afb6bf1c0004ab40c68873420d82 /apps/lang/lang.make
parentd6ef5a0d8057bd6a0f9925d1002cc1a3207ff3b7 (diff)
downloadrockbox-4e41c6d9babc293a7b639c53f0687b650999cb60.tar.gz
rockbox-4e41c6d9babc293a7b639c53f0687b650999cb60.tar.bz2
rockbox-4e41c6d9babc293a7b639c53f0687b650999cb60.zip
Only check lng files for MAX_LANGUAGE_SIZE.
Since the build system now creates files holding the voice strings and an archive holding those creating MAX_LANGUAGE_SIZE needs to be created using a more specific wildcard. Change-Id: Ia424533a8053e4817f23b8dd99f6ab3c324d584d
Diffstat (limited to 'apps/lang/lang.make')
-rw-r--r--apps/lang/lang.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/lang/lang.make b/apps/lang/lang.make
index a1351cee67..70629f52f3 100644
--- a/apps/lang/lang.make
+++ b/apps/lang/lang.make
@@ -26,7 +26,7 @@ CLEANOBJS += $(BUILDDIR)/lang/max_language_size.h $(BUILDDIR)/lang/lang*
# in order to only calculate the maximum size based on the core strings.
$(BUILDDIR)/lang/max_language_size.h: $(LANGOBJ) $(BUILDDIR)/apps/lang/voicestrings.zip
$(call PRINTS,GEN $(subst $(BUILDDIR)/,,$@))
- $(SILENT)echo "#define MAX_LANGUAGE_SIZE `ls -ln $(BUILDDIR)/apps/lang/* | awk '{print $$5-10}' | sort -n | tail -1`" > $@
+ $(SILENT)echo "#define MAX_LANGUAGE_SIZE `ls -ln $(BUILDDIR)/apps/lang/*.lng | awk '{print $$5-10}' | sort -n | tail -1`" > $@
$(BUILDDIR)/lang/lang_core.o: $(APPSDIR)/lang/$(LANGUAGE).lang $(BUILDDIR)/apps/features
$(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done; \