summaryrefslogtreecommitdiff
path: root/utils/hwstub/stub/hwstub.make
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2023-03-14 13:05:49 +0000
committerAidan MacDonald <amachronic@protonmail.com>2023-03-21 04:48:31 -0400
commited7ab52e273e8fcf61c6e95ec28c392ff9ed4023 (patch)
treef15515091b8fc3908a32adf3702ae4b3ec13e8e9 /utils/hwstub/stub/hwstub.make
parent977bc698db176c1886b2d716e8ef4d90a45f335e (diff)
downloadrockbox-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 'utils/hwstub/stub/hwstub.make')
-rw-r--r--utils/hwstub/stub/hwstub.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/hwstub/stub/hwstub.make b/utils/hwstub/stub/hwstub.make
index d51ca1df95..3938b0b070 100644
--- a/utils/hwstub/stub/hwstub.make
+++ b/utils/hwstub/stub/hwstub.make
@@ -8,7 +8,7 @@ LDFLAGS=-lgcc -Os -nostdlib -T$(TMP_LDS) -Wl,-Map,$(TMP_MAP) $(INCLUDES) -L$(BUI
8 8
9SRC:=$(shell cat $(ROOT_DIR)/SOURCES | $(CC) $(INCLUDES) \ 9SRC:=$(shell cat $(ROOT_DIR)/SOURCES | $(CC) $(INCLUDES) \
10 $(DEFINES) -E -P -include "config.h" - 2>/dev/null \ 10 $(DEFINES) -E -P -include "config.h" - 2>/dev/null \
11 | grep -v "^\#") 11 | grep -v "^#")
12SRC:=$(foreach src,$(SRC),$(BUILD_DIR)/$(src)) 12SRC:=$(foreach src,$(SRC),$(BUILD_DIR)/$(src))
13OBJ=$(SRC:.c=.o) 13OBJ=$(SRC:.c=.o)
14OBJ:=$(OBJ:.S=.o) 14OBJ:=$(OBJ:.S=.o)