From 07648928ebe363be33f2a6b51b91a0c290f7951a Mon Sep 17 00:00:00 2001
From: Zheng Bao <fishbaozi@gmail.com>
Date: Fri, 13 Nov 2015 10:42:27 +0800
Subject: $(top)/Makefile: Strip the white space in function strip_quotes

Change-Id: I5e8cf2ccd1cd53b863cf8d24353428f3c183b68c
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: http://review.coreboot.org/12434
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 421e919326..107f3c81e7 100644
--- a/Makefile
+++ b/Makefile
@@ -128,7 +128,7 @@ endif
 
 include toolchain.inc
 
-strip_quotes = $(subst ",,$(subst \",,$(1)))
+strip_quotes = $(strip $(subst ",,$(subst \",,$(1))))
 
 # The primary target needs to be here before we include the
 # other files
-- 
cgit v1.2.3