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)
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)
$(call PRINTS,PP $(<F))
$(SILENT)$(CC) $(PPCFLAGS) \
-E -P -imacros "config.h" -imacros "button.h" -x c $< | \
- grep -v "^\#" | grep -v "^$$" > $(BUILDDIR)/apps/features; \
+ grep -v "^\#" | grep -v "^ *$$" > $(BUILDDIR)/apps/features; \
for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done ; \
echo "$$feat" >$(BUILDDIR)/apps/genlang-features