diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2012-06-09 23:04:42 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2012-06-09 23:04:42 +0200 |
commit | 4e41c6d9babc293a7b639c53f0687b650999cb60 (patch) | |
tree | 09d7c1c526b3afb6bf1c0004ab40c68873420d82 | |
parent | d6ef5a0d8057bd6a0f9925d1002cc1a3207ff3b7 (diff) | |
download | rockbox-4e41c6d9babc293a7b639c53f0687b650999cb60.tar.gz 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
-rw-r--r-- | apps/lang/lang.make | 2 |
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* | |||
26 | # in order to only calculate the maximum size based on the core strings. | 26 | # in order to only calculate the maximum size based on the core strings. |
27 | $(BUILDDIR)/lang/max_language_size.h: $(LANGOBJ) $(BUILDDIR)/apps/lang/voicestrings.zip | 27 | $(BUILDDIR)/lang/max_language_size.h: $(LANGOBJ) $(BUILDDIR)/apps/lang/voicestrings.zip |
28 | $(call PRINTS,GEN $(subst $(BUILDDIR)/,,$@)) | 28 | $(call PRINTS,GEN $(subst $(BUILDDIR)/,,$@)) |
29 | $(SILENT)echo "#define MAX_LANGUAGE_SIZE `ls -ln $(BUILDDIR)/apps/lang/* | awk '{print $$5-10}' | sort -n | tail -1`" > $@ | 29 | $(SILENT)echo "#define MAX_LANGUAGE_SIZE `ls -ln $(BUILDDIR)/apps/lang/*.lng | awk '{print $$5-10}' | sort -n | tail -1`" > $@ |
30 | 30 | ||
31 | $(BUILDDIR)/lang/lang_core.o: $(APPSDIR)/lang/$(LANGUAGE).lang $(BUILDDIR)/apps/features | 31 | $(BUILDDIR)/lang/lang_core.o: $(APPSDIR)/lang/$(LANGUAGE).lang $(BUILDDIR)/apps/features |
32 | $(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done; \ | 32 | $(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done; \ |