From 94aa0d741e8aadff243b6b88092df7b30c1bc6e4 Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Wed, 30 Jun 2010 16:29:55 +0000 Subject: [PATCH] Change "features" and "genlang-features" targets to no longer use multiple targets in one rule. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27195 a1c6a512-1295-4272-9138-f99709370657 --- apps/apps.make | 8 +++++--- tools/root.make | 2 +- 2 files changed, 6 insertions(+), 4 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) # Kludge: depends on config.o which only depends on config-*.h to have config.h # changes trigger a genlang re-run # -features $(BUILDDIR)/apps/features $(BUILDDIR)/apps/genlang-features: $(APPSDIR)/features.txt $(BUILDDIR)/firmware/common/config.o +$(BUILDDIR)/apps/features: $(APPSDIR)/features.txt $(BUILDDIR)/firmware/common/config.o $(SILENT)mkdir -p $(BUILDDIR)/apps $(SILENT)mkdir -p $(BUILDDIR)/lang $(call PRINTS,PP $( $(BUILDDIR)/apps/features; \ - for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done ; \ - echo "$$feat" >$(BUILDDIR)/apps/genlang-features + +$(BUILDDIR)/apps/genlang-features: $(BUILDDIR)/apps/features + for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done ; \ + echo "$$feat" >$(BUILDDIR)/apps/genlang-features ASMDEFS_SRC += $(APPSDIR)/core_asmdefs.c diff --git a/tools/root.make b/tools/root.make index 686b877491..e30b5b3c18 100644 --- a/tools/root.make +++ b/tools/root.make @@ -271,7 +271,7 @@ manual-zip: ifdef TTS_ENGINE -voice: voicetools features +voice: voicetools $(BUILDDIR)/apps/features $(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done ; \ for lang in `echo $(VOICELANGUAGE) |sed "s/,/ /g"`; do $(TOOLSDIR)/voice.pl -V -l=$$lang -t=$(MODELNAME)$$feat -i=$(TARGET_ID) -e="$(ENCODER)" -E="$(ENC_OPTS)" -s=$(TTS_ENGINE) -S="$(TTS_OPTS)"; done \