genlang-features: simplify generation

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27406 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-07-13 02:38:20 +00:00
parent 44f8faa6cb
commit f1ff3e0d5e

View file

@ -27,7 +27,6 @@ $(BUILDDIR)/apps/features: $(APPSDIR)/features.txt $(BUILDDIR)/firmware/common/
grep -v "^\#" | grep -v "^ *$$" > $(BUILDDIR)/apps/features; \ grep -v "^\#" | grep -v "^ *$$" > $(BUILDDIR)/apps/features; \
$(BUILDDIR)/apps/genlang-features: $(BUILDDIR)/apps/features $(BUILDDIR)/apps/genlang-features: $(BUILDDIR)/apps/features
for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done ; \ tr \\n : < $< > $@
echo "$$feat" >$(BUILDDIR)/apps/genlang-features
ASMDEFS_SRC += $(APPSDIR)/core_asmdefs.c ASMDEFS_SRC += $(APPSDIR)/core_asmdefs.c