summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-09-22 21:06:30 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2017-09-22 21:06:30 +0200
commitacc3ef3b6f62510c45ecc55352673ef0aaa2fe11 (patch)
treeb53e7ff1cd6ee1f9e141c4db08e1ef01960c8fc8 /apps
parent9c83e07d8b28a348f3cab0d540f91ec6f03d6e34 (diff)
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
Diffstat (limited to 'apps')
-rw-r--r--apps/lang/lang.make1
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
$(call PRINTS,CC lang_core.c)$(CC) $(CFLAGS) -c $(BUILDDIR)/lang/lang_core.c -o $@
$(BUILDDIR)/lang/lang.h $(BUILDDIR)/lang/lang_core.c: $(APPSDIR)/lang/$(LANGUAGE).lang $(BUILDDIR)/apps/features
+ $(call PRINTS,GEN lang.h)
$(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done; \
perl -s $(TOOLSDIR)/genlang -p=$(BUILDDIR)/lang -t=$(MODELNAME)$$feat $<