Skip to content

Commit fb916b4

Browse files
committed
firmware: Use $(quote) in the Makefile
The literal " confuses syntax highlighting in vim. Cc: David Woodhouse <[email protected]> Acked-by: Sam Ravnborg <[email protected]> Signed-off-by: Michal Marek <[email protected]>
1 parent 5180d5f commit fb916b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firmware/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
# Create $(fwabs) from $(CONFIG_EXTRA_FIRMWARE_DIR) -- if it doesn't have a
66
# leading /, it's relative to $(srctree).
7-
fwdir := $(subst ",,$(CONFIG_EXTRA_FIRMWARE_DIR))
7+
fwdir := $(subst $(quote),,$(CONFIG_EXTRA_FIRMWARE_DIR))
88
fwabs := $(addprefix $(srctree)/,$(filter-out /%,$(fwdir)))$(filter /%,$(fwdir))
99

10-
fw-external-y := $(subst ",,$(CONFIG_EXTRA_FIRMWARE))
10+
fw-external-y := $(subst $(quote),,$(CONFIG_EXTRA_FIRMWARE))
1111

1212
# There are three cases to care about:
1313
# 1. Building kernel with CONFIG_FIRMWARE_IN_KERNEL=y -- $(fw-shipped-y) should

0 commit comments

Comments
 (0)