mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-28 23:43:42 +02:00
Makefile: Only enable I2C programmers on Linux
The I2C support code they use is Linux-specific. Change-Id: I04d25ff8f8c3097428ac8695669b1757c38f49e9 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/53999 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
This commit is contained in:
parent
9785daaf11
commit
78853ff23a
40
Makefile
40
Makefile
@ -212,16 +212,6 @@ UNSUPPORTED_FEATURES += CONFIG_STLINKV3_SPI=yes
|
|||||||
else
|
else
|
||||||
override CONFIG_STLINKV3_SPI = no
|
override CONFIG_STLINKV3_SPI = no
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LSPCON_I2C_SPI), yes)
|
|
||||||
UNSUPPORTED_FEATURES += CONFIG_LSPCON_I2C_SPI=yes
|
|
||||||
else
|
|
||||||
override CONFIG_LSPCON_I2C_SPI = no
|
|
||||||
endif
|
|
||||||
ifeq ($(CONFIG_REALTEK_MST_I2C_SPI), yes)
|
|
||||||
UNSUPPORTED_FEATURES += CONFIG_REALTEK_MST_I2C_SPI=yes
|
|
||||||
else
|
|
||||||
override CONFIG_REALTEK_MST_I2C_SPI = no
|
|
||||||
endif
|
|
||||||
# libjaylink is also not available for DOS
|
# libjaylink is also not available for DOS
|
||||||
ifeq ($(CONFIG_JLINK_SPI), yes)
|
ifeq ($(CONFIG_JLINK_SPI), yes)
|
||||||
UNSUPPORTED_FEATURES += CONFIG_JLINK_SPI=yes
|
UNSUPPORTED_FEATURES += CONFIG_JLINK_SPI=yes
|
||||||
@ -338,16 +328,6 @@ UNSUPPORTED_FEATURES += CONFIG_SATAMV=yes
|
|||||||
else
|
else
|
||||||
override CONFIG_SATAMV = no
|
override CONFIG_SATAMV = no
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LSPCON_I2C_SPI), yes)
|
|
||||||
UNSUPPORTED_FEATURES += CONFIG_LSPCON_I2C_SPI=yes
|
|
||||||
else
|
|
||||||
override CONFIG_LSPCON_I2C_SPI = no
|
|
||||||
endif
|
|
||||||
ifeq ($(CONFIG_REALTEK_MST_I2C_SPI), yes)
|
|
||||||
UNSUPPORTED_FEATURES += CONFIG_REALTEK_MST_I2C_SPI=yes
|
|
||||||
else
|
|
||||||
override CONFIG_REALTEK_MST_I2C_SPI = no
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(TARGET_OS), MinGW)
|
ifneq ($(TARGET_OS), MinGW)
|
||||||
@ -433,16 +413,6 @@ UNSUPPORTED_FEATURES += CONFIG_STLINKV3_SPI=yes
|
|||||||
else
|
else
|
||||||
override CONFIG_STLINKV3_SPI = no
|
override CONFIG_STLINKV3_SPI = no
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LSPCON_I2C_SPI), yes)
|
|
||||||
UNSUPPORTED_FEATURES += CONFIG_LSPCON_I2C_SPI=yes
|
|
||||||
else
|
|
||||||
override CONFIG_LSPCON_I2C_SPI = no
|
|
||||||
endif
|
|
||||||
ifeq ($(CONFIG_REALTEK_MST_I2C_SPI), yes)
|
|
||||||
UNSUPPORTED_FEATURES += CONFIG_REALTEK_MST_I2C_SPI=yes
|
|
||||||
else
|
|
||||||
override CONFIG_REALTEK_MST_I2C_SPI = no
|
|
||||||
endif
|
|
||||||
ifeq ($(CONFIG_CH341A_SPI), yes)
|
ifeq ($(CONFIG_CH341A_SPI), yes)
|
||||||
UNSUPPORTED_FEATURES += CONFIG_CH341A_SPI=yes
|
UNSUPPORTED_FEATURES += CONFIG_CH341A_SPI=yes
|
||||||
else
|
else
|
||||||
@ -467,6 +437,16 @@ ifeq ($(CONFIG_MSTARDDC_SPI), yes)
|
|||||||
UNSUPPORTED_FEATURES += CONFIG_MSTARDDC_SPI=yes
|
UNSUPPORTED_FEATURES += CONFIG_MSTARDDC_SPI=yes
|
||||||
else
|
else
|
||||||
override CONFIG_MSTARDDC_SPI = no
|
override CONFIG_MSTARDDC_SPI = no
|
||||||
|
ifeq ($(CONFIG_LSPCON_I2C_SPI), yes)
|
||||||
|
UNSUPPORTED_FEATURES += CONFIG_LSPCON_I2C_SPI=yes
|
||||||
|
else
|
||||||
|
override CONFIG_LSPCON_I2C_SPI = no
|
||||||
|
endif
|
||||||
|
ifeq ($(CONFIG_REALTEK_MST_I2C_SPI), yes)
|
||||||
|
UNSUPPORTED_FEATURES += CONFIG_REALTEK_MST_I2C_SPI=yes
|
||||||
|
else
|
||||||
|
override CONFIG_REALTEK_MST_I2C_SPI = no
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user