summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Czapiga <jacz@semihalf.com>2022-02-17 18:08:09 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-02-21 15:18:24 +0000
commit7f663ab3e6cb749fb19ac7ae47ab97fe36487bda (patch)
tree9d4237b502892158361432f7384ef5a47b9f4f50
parentdbbb3917008acb7cf0189a85deca47266cb0de89 (diff)
downloadcoreboot-7f663ab3e6cb749fb19ac7ae47ab97fe36487bda.tar.gz
coreboot-7f663ab3e6cb749fb19ac7ae47ab97fe36487bda.tar.bz2
coreboot-7f663ab3e6cb749fb19ac7ae47ab97fe36487bda.zip
libpayload/vboot/Makefile.inc: Add strip to kconfig-to-binary macro
Lack of strip made it required to pass arguments to the kconfig-to-binary macro without spaces. Strip fixed invalid behavior of this macro. Signed-off-by: Jakub Czapiga <jacz@semihalf.com> Change-Id: I9889b45f773b9675fae287086d324c180c505a4b Reviewed-on: https://review.coreboot.org/c/coreboot/+/62133 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
-rw-r--r--payloads/libpayload/vboot/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/vboot/Makefile.inc b/payloads/libpayload/vboot/Makefile.inc
index 9e9e90bcddeb..05668ef29d6e 100644
--- a/payloads/libpayload/vboot/Makefile.inc
+++ b/payloads/libpayload/vboot/Makefile.inc
@@ -7,7 +7,7 @@ TLCL_LIB = $(VBOOT_BUILD_DIR)/tlcl.a
vboot_fw-objs += $(VBOOT_FW_LIB)
tlcl-objs += $(TLCL_LIB)
-kconfig-to-binary=$(if $(1),1,0)
+kconfig-to-binary=$(if $(strip $(1)),1,0)
vboot-fixup-includes = $(patsubst -I%,-I$(top)/%,\
$(patsubst include/%.h,$(top)/include/%.h,\
$(filter-out -I$(obj),$(1))))