mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
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
This commit is contained in:
parent
d6ef5a0d80
commit
4e41c6d9ba
1 changed files with 1 additions and 1 deletions
|
|
@ -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; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue