From 4e41c6d9babc293a7b639c53f0687b650999cb60 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sat, 9 Jun 2012 23:04:42 +0200 Subject: 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 --- apps/lang/lang.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; \ -- cgit v1.2.3