]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - spl/Makefile
Makefile: use two double-quotations as a pair
[karo-tx-uboot.git] / spl / Makefile
index 2a787afa4f92e0b699feb950e7dcb8b6bb3eed7a..b816e20efc9ac52f8b7d4c3efc8749f655e5b22f 100644 (file)
@@ -37,7 +37,7 @@ endif
 HAVE_VENDOR_COMMON_LIB = $(if $(wildcard $(SRCTREE)/board/$(VENDOR)/common/Makefile),y,n)
 
 ifdef  CONFIG_SPL_START_S_PATH
-START_PATH := $(subst ",,$(CONFIG_SPL_START_S_PATH))
+START_PATH := $(CONFIG_SPL_START_S_PATH:"%"=%)
 else
 START_PATH := $(CPUDIR)
 endif
@@ -118,7 +118,7 @@ __LIBS := $(subst $(obj),,$(LIBS))
 # Linker Script
 ifdef CONFIG_SPL_LDSCRIPT
 # need to strip off double quotes
-LDSCRIPT := $(addprefix $(SRCTREE)/,$(subst ",,$(CONFIG_SPL_LDSCRIPT)))
+LDSCRIPT := $(addprefix $(SRCTREE)/,$(CONFIG_SPL_LDSCRIPT:"%"=%))
 endif
 
 ifeq ($(wildcard $(LDSCRIPT)),)