mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-28 15:33:42 +02:00
Makefile: unify the use of filter
Make a filter statement easier to read and fix some cosmetics. Change-Id: I6cd1e169b435cadb06423836cd9d64cdd2f51a94 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/58451 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
99330d67b0
commit
694e2bf218
2
Makefile
2
Makefile
@ -235,7 +235,7 @@ $(call mark_unsupported,$(DEPENDS_ON_LIBUSB1) $(DEPENDS_ON_LIBFTDI) $(DEPENDS_ON
|
||||
endif
|
||||
|
||||
# Android is handled internally as separate OS, but it supports about the same drivers as Linux.
|
||||
ifeq ($(filter $(TARGET_OS),Linux Android), )
|
||||
ifneq ($(TARGET_OS), $(filter $(TARGET_OS), Linux Android))
|
||||
$(call mark_unsupported,CONFIG_LINUX_MTD CONFIG_LINUX_SPI)
|
||||
$(call mark_unsupported,CONFIG_MSTARDDC_SPI CONFIG_LSPCON_I2C_SPI CONFIG_REALTEK_MST_I2C_SPI)
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user