[coreboot-gerrit] New patch to review for coreboot: $(top)/Makefile: Strip the white space in function strip_quotes

Zheng Bao (zheng.bao@amd.com) gerrit at coreboot.org
Sat Nov 14 10:38:45 CET 2015


Zheng Bao (zheng.bao at amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/12434

-gerrit

commit c1c54906bc71ac6d89701f3016d9fabac984b181
Author: Zheng Bao <fishbaozi at gmail.com>
Date:   Fri Nov 13 10:42:27 2015 +0800

    $(top)/Makefile: Strip the white space in function strip_quotes
    
    Change-Id: I5e8cf2ccd1cd53b863cf8d24353428f3c183b68c
    Signed-off-by: Zheng Bao <fishbaozi at gmail.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 421e919..107f3c8 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



More information about the coreboot-gerrit mailing list