mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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
This commit is contained in:
parent
735b522929
commit
1c64a4d3e0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue