From 17022bbc50027b1b91751c1d12477a07a02ba69f Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Thu, 13 May 2021 22:38:05 +0800 Subject: [PATCH] soc/amd/*/Makefile.inc: Strip the quotes PSP_SOFTFUSE_BITS used to be like this: 15 0 29 "28 6" It causes internal shell report error: /bin/sh: -c: line 0: unexpected EOF while looking for matching `"' /bin/sh: -c: line 1: syntax error: unexpected end of file /bin/sh: -c: line 0: unexpected EOF while looking for matching `"' /bin/sh: -c: line 1: syntax error: unexpected end of file Change-Id: I716f19d37fb57b9ef3fc7259c6dcca7d21022d32 Signed-off-by: Zheng Bao Reviewed-on: https://review.coreboot.org/c/coreboot/+/54278 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel --- src/soc/amd/cezanne/Makefile.inc | 2 +- src/soc/amd/picasso/Makefile.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/soc/amd/cezanne/Makefile.inc b/src/soc/amd/cezanne/Makefile.inc index 4731dc5ce7..fa38cc3785 100644 --- a/src/soc/amd/cezanne/Makefile.inc +++ b/src/soc/amd/cezanne/Makefile.inc @@ -112,7 +112,7 @@ PSP_SOFTFUSE_BITS += 29 endif # Use additional Soft Fuse bits specified in Kconfig -PSP_SOFTFUSE_BITS += $(CONFIG_PSP_SOFTFUSE_BITS) +PSP_SOFTFUSE_BITS += $(call strip_quotes, $(CONFIG_PSP_SOFTFUSE_BITS)) # type = 0x3a ifeq ($(CONFIG_HAVE_PSP_WHITELIST_FILE),y) diff --git a/src/soc/amd/picasso/Makefile.inc b/src/soc/amd/picasso/Makefile.inc index b5154a40f5..214f76d812 100644 --- a/src/soc/amd/picasso/Makefile.inc +++ b/src/soc/amd/picasso/Makefile.inc @@ -107,7 +107,7 @@ PSP_SOFTFUSE_BITS += 29 endif # Use additional Soft Fuse bits specified in Kconfig -PSP_SOFTFUSE_BITS += $(CONFIG_PSP_SOFTFUSE_BITS) +PSP_SOFTFUSE_BITS += $(call strip_quotes, $(CONFIG_PSP_SOFTFUSE_BITS)) ifeq ($(CONFIG_PSP_LOAD_S0I3_FW),y) OPT_PSP_LOAD_S0I3_FW="--load-s0i3"