summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2009-10-18 14:24:25 +0000
committerFrank Gevaerts <frank@gevaerts.be>2009-10-18 14:24:25 +0000
commit1c64a4d3e0a4ae2f4eb537f00c7dc4372ca5df88 (patch)
treef8da4d50e501c784f4df777c99ba1013063c6efe /apps
parent735b522929b49370d243f9ffb07a9e731d0f32dc (diff)
downloadrockbox-1c64a4d3e0a4ae2f4eb537f00c7dc4372ca5df88.tar.gz
rockbox-1c64a4d3e0a4ae2f4eb537f00c7dc4372ca5df88.zip
Also filter lines with only spaces in apps/features. At least mr500 had those after the preprocessing step.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23245 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/apps.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/apps.make b/apps/apps.make
index 5eb5f6c70a..78ae121247 100644
--- a/apps/apps.make
+++ b/apps/apps.make
@@ -23,7 +23,7 @@ features $(BUILDDIR)/apps/features $(BUILDDIR)/apps/genlang-features: $(APPSDIR)
23 $(call PRINTS,PP $(<F)) 23 $(call PRINTS,PP $(<F))
24 $(SILENT)$(CC) $(PPCFLAGS) \ 24 $(SILENT)$(CC) $(PPCFLAGS) \
25 -E -P -imacros "config.h" -imacros "button.h" -x c $< | \ 25 -E -P -imacros "config.h" -imacros "button.h" -x c $< | \
26 grep -v "^\#" | grep -v "^$$" > $(BUILDDIR)/apps/features; \ 26 grep -v "^\#" | grep -v "^ *$$" > $(BUILDDIR)/apps/features; \
27 for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done ; \ 27 for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done ; \
28 echo "$$feat" >$(BUILDDIR)/apps/genlang-features 28 echo "$$feat" >$(BUILDDIR)/apps/genlang-features
29 29