diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2023-03-14 13:05:49 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2023-03-21 04:48:31 -0400 |
commit | ed7ab52e273e8fcf61c6e95ec28c392ff9ed4023 (patch) | |
tree | f15515091b8fc3908a32adf3702ae4b3ec13e8e9 /apps/apps.make | |
parent | 977bc698db176c1886b2d716e8ef4d90a45f335e (diff) | |
download | rockbox-ed7ab52e273e8fcf61c6e95ec28c392ff9ed4023.tar.gz rockbox-ed7ab52e273e8fcf61c6e95ec28c392ff9ed4023.zip |
makefiles: Suppress stray backslash warnings with grep 3.8
GNU grep 3.8 warns about "\#" when compiling. The "#" has to be
escaped for Makefiles and shell, but it isn't special to grep so
grep thinks it's an invalid escape sequence.
Change-Id: Ieb2607d42b7daa1939ca0101b915ec0c7afd4298
Diffstat (limited to 'apps/apps.make')
-rw-r--r-- | apps/apps.make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/apps.make b/apps/apps.make index 6afcd12b5c..47b015bc92 100644 --- a/apps/apps.make +++ b/apps/apps.make | |||
@@ -24,7 +24,7 @@ $(BUILDDIR)/apps/features: $(APPSDIR)/features.txt $(BUILDDIR)/firmware/common/ | |||
24 | $(call PRINTS,PP $(<F)) | 24 | $(call PRINTS,PP $(<F)) |
25 | $(SILENT)$(CC) $(PPCFLAGS) \ | 25 | $(SILENT)$(CC) $(PPCFLAGS) \ |
26 | -E -P -imacros "config.h" -imacros "button.h" -x c $< | \ | 26 | -E -P -imacros "config.h" -imacros "button.h" -x c $< | \ |
27 | grep -v "^\#" | grep -v "^ *$$" > $(BUILDDIR)/apps/features; \ | 27 | grep -v "^#" | grep -v "^ *$$" > $(BUILDDIR)/apps/features; \ |
28 | 28 | ||
29 | $(BUILDDIR)/apps/genlang-features: $(BUILDDIR)/apps/features | 29 | $(BUILDDIR)/apps/genlang-features: $(BUILDDIR)/apps/features |
30 | $(call PRINTS,GEN $(subst $(BUILDDIR)/,,$@))tr \\n : < $< > $@ | 30 | $(call PRINTS,GEN $(subst $(BUILDDIR)/,,$@))tr \\n : < $< > $@ |