mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
genlang: Fix inconsistent rules when enumerating strings
* sort contents of generated apps/lang/english.list * Ignore all entries with a source of 'none' * Filter out all destination strings not present in master english list * Always require '-e' argument Change-Id: Ic86c0cb6c44139465cba6b6ce840131efe217c4d
This commit is contained in:
parent
0ebfab36ba
commit
5d5698a616
2 changed files with 29 additions and 47 deletions
|
@ -39,7 +39,7 @@ $(BUILDDIR)/lang/lang_core.o: $(BUILDDIR)/lang/lang.h $(BUILDDIR)/lang/lang_core
|
|||
# race conditions such as running genlang twice or worse in parallel with other things!
|
||||
$(BUILDDIR)/lang/lang.h: $(APPSDIR)/lang/$(ENGLISH).lang $(BUILDDIR)/apps/genlang-features $(TOOLSDIR)/genlang
|
||||
$(call PRINTS,GEN lang.h)
|
||||
$(SILENT)$(TOOLSDIR)/genlang -p=$(BUILDDIR)/lang -t=$(MODELNAME):`cat $(BUILDDIR)/apps/genlang-features` $<
|
||||
$(SILENT)$(TOOLSDIR)/genlang -e=$(APPSDIR)/lang/$(ENGLISH).lang -p=$(BUILDDIR)/lang -t=$(MODELNAME):`cat $(BUILDDIR)/apps/genlang-features` $<
|
||||
$(BUILDDIR)/lang/lang_core.c: $(BUILDDIR)/lang/lang.h $(TOOLSDIR)/genlang
|
||||
|
||||
$(BUILDDIR)/lang_enum.h: $(BUILDDIR)/lang/lang.h $(TOOLSDIR)/genlang
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue