summaryrefslogtreecommitdiff
path: root/spl
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-12-05 15:08:31 +0900
committerTom Rini <trini@ti.com>2013-12-13 09:15:33 -0500
commita8c075414a48663b0604c22b90883e651c1a053d (patch)
tree37d456735780f92e5fa05a07b380ce7ac06f77eb /spl
parent65947ab4c98b882e2ce68c1970e7e7cf208b40e7 (diff)
downloadu-boot-imx-a8c075414a48663b0604c22b90883e651c1a053d.zip
u-boot-imx-a8c075414a48663b0604c22b90883e651c1a053d.tar.gz
u-boot-imx-a8c075414a48663b0604c22b90883e651c1a053d.tar.bz2
Makefile: use two double-quotations as a pair
Some editors such as Emacs can highlight source files. But their parser algorithm is not perfect. If you use one double-quotation alone, some editor cannot handle it nicely and mark source lines as a string by mistake. It is preferable to use two double-quotations as a pair. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'spl')
-rw-r--r--spl/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/spl/Makefile b/spl/Makefile
index 2a787af..b816e20 100644
--- a/spl/Makefile
+++ b/spl/Makefile
@@ -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)),)