diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-07-17 15:33:35 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-07-17 15:33:35 +0000 |
commit | 3b84012d637d3f1caad3f2cf7ed6b5d3e16ef54f (patch) | |
tree | e9cd791f724b00e5e3976f21e3c7df2fbd5b47a3 /apps | |
parent | 59ded69c96e3304db3699d6f0d611dfbfcf93a0c (diff) | |
download | rockbox-3b84012d637d3f1caad3f2cf7ed6b5d3e16ef54f.tar.gz rockbox-3b84012d637d3f1caad3f2cf7ed6b5d3e16ef54f.zip |
Prettier genlang-features output. Use the same style for max_language_size.h.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27469 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/apps.make | 2 | ||||
-rw-r--r-- | apps/lang/lang.make | 2 |
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 | ||
32 | ASMDEFS_SRC += $(APPSDIR)/core_asmdefs.c | 32 | ASMDEFS_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 |