summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-07-22 23:23:28 +0200
committerFelix Singer <felixsinger@posteo.net>2022-10-06 01:03:11 +0000
commit4cbc1cb32dec2a269a6c2fb8d391f36db174bb32 (patch)
treefbe81e1f039bd7813b2973db04fc2c3ac4f82b1a
parent1900e1d5d39d91b762c9a02ef2445868b323ca87 (diff)
downloadflashrom-4cbc1cb32dec2a269a6c2fb8d391f36db174bb32.tar.gz
flashrom-4cbc1cb32dec2a269a6c2fb8d391f36db174bb32.tar.bz2
flashrom-4cbc1cb32dec2a269a6c2fb8d391f36db174bb32.zip
Makefile: Fix dependencies for developerbox_spi
Note: This patch was backported from the master branch and it was modified so that it can be applied on the 1.2.x branch. The developerbox_spi programmer depends on bitbang SPI support. Thus, fix that. Signed-off-by: Felix Singer <felixsinger@posteo.net> Change-Id: Ic0fe589ffdccede0fbf6360c2bebe58a36654f10 Reviewed-on: https://review.coreboot.org/c/flashrom/+/66096 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Thomas Heijligen <src@posteo.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/68064
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 52a2f951c..0cea6b7d4 100644
--- a/Makefile
+++ b/Makefile
@@ -763,12 +763,16 @@ else
ifeq ($(CONFIG_OGP_SPI), yes)
override CONFIG_BITBANG_SPI = yes
else
+ifeq ($(CONFIG_DEVELOPERBOX_SPI), yes)
+override CONFIG_BITBANG_SPI = yes
+else
CONFIG_BITBANG_SPI ?= no
endif
endif
endif
endif
endif
+endif
###############################################################################
# Handle CONFIG_* variables that depend on others set (and verified) above.