diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2017-09-22 21:06:30 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2017-09-22 21:06:30 +0200 |
commit | acc3ef3b6f62510c45ecc55352673ef0aaa2fe11 (patch) | |
tree | b53e7ff1cd6ee1f9e141c4db08e1ef01960c8fc8 | |
parent | 9c83e07d8b28a348f3cab0d540f91ec6f03d6e34 (diff) | |
download | rockbox-acc3ef3b6f62510c45ecc55352673ef0aaa2fe11.tar.gz rockbox-acc3ef3b6f62510c45ecc55352673ef0aaa2fe11.zip |
Print "GEN lang.h" when generated language header.
Hopefully this will help narrow down the problem with LANG_* error message,
I have the feeling that lang.h is not generated in time but it's very hard to
reproduce.
Change-Id: I02b6c98ed9c7e7168fad10dcf1142e307fbc6093
-rw-r--r-- | apps/lang/lang.make | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/lang/lang.make b/apps/lang/lang.make index ca71a72ea1..6465b426b7 100644 --- a/apps/lang/lang.make +++ b/apps/lang/lang.make | |||
@@ -32,6 +32,7 @@ $(BUILDDIR)/lang/lang_core.o: $(BUILDDIR)/lang/lang.h $(BUILDDIR)/lang/lang_core | |||
32 | $(call PRINTS,CC lang_core.c)$(CC) $(CFLAGS) -c $(BUILDDIR)/lang/lang_core.c -o $@ | 32 | $(call PRINTS,CC lang_core.c)$(CC) $(CFLAGS) -c $(BUILDDIR)/lang/lang_core.c -o $@ |
33 | 33 | ||
34 | $(BUILDDIR)/lang/lang.h $(BUILDDIR)/lang/lang_core.c: $(APPSDIR)/lang/$(LANGUAGE).lang $(BUILDDIR)/apps/features | 34 | $(BUILDDIR)/lang/lang.h $(BUILDDIR)/lang/lang_core.c: $(APPSDIR)/lang/$(LANGUAGE).lang $(BUILDDIR)/apps/features |
35 | $(call PRINTS,GEN lang.h) | ||
35 | $(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done; \ | 36 | $(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done; \ |
36 | perl -s $(TOOLSDIR)/genlang -p=$(BUILDDIR)/lang -t=$(MODELNAME)$$feat $< | 37 | perl -s $(TOOLSDIR)/genlang -p=$(BUILDDIR)/lang -t=$(MODELNAME)$$feat $< |
37 | 38 | ||