mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-12 00:47:49 -04:00
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
This commit is contained in:
parent
977bc698db
commit
ed7ab52e27
5 changed files with 7 additions and 7 deletions
|
|
@ -8,7 +8,7 @@ LDFLAGS=-lgcc -Os -nostdlib -T$(TMP_LDS) -Wl,-Map,$(TMP_MAP) $(INCLUDES) -L$(BUI
|
|||
|
||||
SRC:=$(shell cat $(ROOT_DIR)/SOURCES | $(CC) $(INCLUDES) \
|
||||
$(DEFINES) -E -P -include "config.h" - 2>/dev/null \
|
||||
| grep -v "^\#")
|
||||
| grep -v "^#")
|
||||
SRC:=$(foreach src,$(SRC),$(BUILD_DIR)/$(src))
|
||||
OBJ=$(SRC:.c=.o)
|
||||
OBJ:=$(OBJ:.S=.o)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue