summaryrefslogtreecommitdiff
path: root/apps/apps.make
diff options
context:
space:
mode:
Diffstat (limited to 'apps/apps.make')
-rw-r--r--apps/apps.make8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/apps.make b/apps/apps.make
index 8814147102..ee5cca904d 100644
--- a/apps/apps.make
+++ b/apps/apps.make
@@ -18,14 +18,16 @@ SRC += $(call preprocess, $(APPSDIR)/SOURCES)
18# Kludge: depends on config.o which only depends on config-*.h to have config.h 18# Kludge: depends on config.o which only depends on config-*.h to have config.h
19# changes trigger a genlang re-run 19# changes trigger a genlang re-run
20# 20#
21features $(BUILDDIR)/apps/features $(BUILDDIR)/apps/genlang-features: $(APPSDIR)/features.txt $(BUILDDIR)/firmware/common/config.o 21$(BUILDDIR)/apps/features: $(APPSDIR)/features.txt $(BUILDDIR)/firmware/common/config.o
22 $(SILENT)mkdir -p $(BUILDDIR)/apps 22 $(SILENT)mkdir -p $(BUILDDIR)/apps
23 $(SILENT)mkdir -p $(BUILDDIR)/lang 23 $(SILENT)mkdir -p $(BUILDDIR)/lang
24 $(call PRINTS,PP $(<F)) 24 $(call PRINTS,PP $(<F))
25 $(SILENT)$(CC) $(PPCFLAGS) \ 25 $(SILENT)$(CC) $(PPCFLAGS) \
26 -E -P -imacros "config.h" -imacros "button.h" -x c $< | \ 26 -E -P -imacros "config.h" -imacros "button.h" -x c $< | \
27 grep -v "^\#" | grep -v "^ *$$" > $(BUILDDIR)/apps/features; \ 27 grep -v "^\#" | grep -v "^ *$$" > $(BUILDDIR)/apps/features; \
28 for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done ; \ 28
29 echo "$$feat" >$(BUILDDIR)/apps/genlang-features 29$(BUILDDIR)/apps/genlang-features: $(BUILDDIR)/apps/features
30 for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done ; \
31 echo "$$feat" >$(BUILDDIR)/apps/genlang-features
30 32
31ASMDEFS_SRC += $(APPSDIR)/core_asmdefs.c 33ASMDEFS_SRC += $(APPSDIR)/core_asmdefs.c