firmware: Use $(quote) in the Makefile
authorMichal Marek <mmarek@suse.cz>
Tue, 29 Apr 2014 10:45:34 +0000 (12:45 +0200)
committerMichal Marek <mmarek@suse.cz>
Wed, 14 May 2014 20:43:04 +0000 (22:43 +0200)
The literal " confuses syntax highlighting in vim.

Cc: David Woodhouse <dwmw2@infradead.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
firmware/Makefile

index 6af62cf6e285a0f69d4a67669584b7e5eb49e1ed..5747417069cadf3501cf8210a7cb834b6b29c942 100644 (file)
@@ -4,10 +4,10 @@
 
 # Create $(fwabs) from $(CONFIG_EXTRA_FIRMWARE_DIR) -- if it doesn't have a
 # leading /, it's relative to $(srctree).
-fwdir := $(subst ",,$(CONFIG_EXTRA_FIRMWARE_DIR))
+fwdir := $(subst $(quote),,$(CONFIG_EXTRA_FIRMWARE_DIR))
 fwabs := $(addprefix $(srctree)/,$(filter-out /%,$(fwdir)))$(filter /%,$(fwdir))
 
-fw-external-y := $(subst ",,$(CONFIG_EXTRA_FIRMWARE))
+fw-external-y := $(subst $(quote),,$(CONFIG_EXTRA_FIRMWARE))
 
 # There are three cases to care about:
 # 1. Building kernel with CONFIG_FIRMWARE_IN_KERNEL=y -- $(fw-shipped-y) should