From 3b84012d637d3f1caad3f2cf7ed6b5d3e16ef54f Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sat, 17 Jul 2010 15:33:35 +0000 Subject: 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 --- apps/apps.make | 2 +- 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/ grep -v "^\#" | grep -v "^ *$$" > $(BUILDDIR)/apps/features; \ $(BUILDDIR)/apps/genlang-features: $(BUILDDIR)/apps/features - tr \\n : < $< > $@ + $(call PRINTS,GEN $(subst $(BUILDDIR)/,,$@))tr \\n : < $< > $@ 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* # TODO: In the future generate this file within genlang or another script # in order to only calculate the maximum size based on the core strings. $(BUILDDIR)/lang/max_language_size.h: $(LANGOBJ) - $(call PRINTS,Create $(notdir $@)) + $(call PRINTS,GEN $(subst $(BUILDDIR)/,,$@)) $(SILENT)echo "#define MAX_LANGUAGE_SIZE `ls -ln $(BUILDDIR)/apps/lang/* | awk '{print $$5-10}' | sort -n | tail -1`" > $@ $(BUILDDIR)/lang/lang_core.o: $(APPSDIR)/lang/$(LANGUAGE).lang $(BUILDDIR)/apps/features -- cgit v1.2.3