Selma Bensaid has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/36336 )
Change subject: Fix sarien depthcharge make build ......................................................................
Fix sarien depthcharge make build
CONFIG_MAINBOARD_DEPTHCHARGE is set to "" for boards not configuring it.
Signed-off-by: Selma BENSAID selma.bensaid@intel.com Change-Id: If61a1371ad8baf165b09ce045fc1a6c205c2c0ae --- M payloads/external/Makefile.inc 1 file changed, 5 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/36/36336/1
diff --git a/payloads/external/Makefile.inc b/payloads/external/Makefile.inc index f6417fd..d3d10f8 100644 --- a/payloads/external/Makefile.inc +++ b/payloads/external/Makefile.inc @@ -30,9 +30,11 @@ PAYLOAD_CONFIG=payloads/external/depthcharge/depthcharge/.config $(PAYLOAD_CONFIG): payloads/external/depthcharge/depthcharge/build/depthcharge.elf ifneq ($(CONFIG_MAINBOARD_DEPTHCHARGE),) - BOARD=$(CONFIG_MAINBOARD_DEPTHCHARGE) -else - BOARD=$(call ws_to_under,$(call strip_quotes,$(call tolower,$(CONFIG_MAINBOARD_PART_NUMBER)))) + ifeq ($(CONFIG_MAINBOARD_DEPTHCHARGE),"") + BOARD=$(call ws_to_under,$(call strip_quotes,$(call tolower,$(CONFIG_MAINBOARD_PART_NUMBER)))) + else + BOARD=$(CONFIG_MAINBOARD_DEPTHCHARGE) + endif endif #TODO: Figure out version endif