summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/apps.make2
-rw-r--r--apps/lang/lang.make2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/apps.make b/apps/apps.make
index ffb37ac41d..6afcd12b5c 100644
--- a/apps/apps.make
+++ b/apps/apps.make
@@ -27,6 +27,6 @@ $(BUILDDIR)/apps/features: $(APPSDIR)/features.txt $(BUILDDIR)/firmware/common/
27 grep -v "^\#" | grep -v "^ *$$" > $(BUILDDIR)/apps/features; \ 27 grep -v "^\#" | grep -v "^ *$$" > $(BUILDDIR)/apps/features; \
28 28
29$(BUILDDIR)/apps/genlang-features: $(BUILDDIR)/apps/features 29$(BUILDDIR)/apps/genlang-features: $(BUILDDIR)/apps/features
30 tr \\n : < $< > $@ 30 $(call PRINTS,GEN $(subst $(BUILDDIR)/,,$@))tr \\n : < $< > $@
31 31
32ASMDEFS_SRC += $(APPSDIR)/core_asmdefs.c 32ASMDEFS_SRC += $(APPSDIR)/core_asmdefs.c
diff --git a/apps/lang/lang.make b/apps/lang/lang.make
index a41520ab12..d0dac71e95 100644
--- a/apps/lang/lang.make
+++ b/apps/lang/lang.make
@@ -24,7 +24,7 @@ CLEANOBJS += $(BUILDDIR)/lang/max_language_size.h $(BUILDDIR)/lang/lang*
24# TODO: In the future generate this file within genlang or another script 24# TODO: In the future generate this file within genlang or another script
25# in order to only calculate the maximum size based on the core strings. 25# in order to only calculate the maximum size based on the core strings.
26$(BUILDDIR)/lang/max_language_size.h: $(LANGOBJ) 26$(BUILDDIR)/lang/max_language_size.h: $(LANGOBJ)
27 $(call PRINTS,Create $(notdir $@)) 27 $(call PRINTS,GEN $(subst $(BUILDDIR)/,,$@))
28 $(SILENT)echo "#define MAX_LANGUAGE_SIZE `ls -ln $(BUILDDIR)/apps/lang/* | awk '{print $$5-10}' | sort -n | tail -1`" > $@ 28 $(SILENT)echo "#define MAX_LANGUAGE_SIZE `ls -ln $(BUILDDIR)/apps/lang/* | awk '{print $$5-10}' | sort -n | tail -1`" > $@
29 29
30$(BUILDDIR)/lang/lang_core.o: $(APPSDIR)/lang/$(LANGUAGE).lang $(BUILDDIR)/apps/features 30$(BUILDDIR)/lang/lang_core.o: $(APPSDIR)/lang/$(LANGUAGE).lang $(BUILDDIR)/apps/features