aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Ding <victording@google.com>2020-10-26 18:42:03 +1100
committerEdward O'Callaghan <quasisec@chromium.org>2020-10-27 11:35:03 +0000
commitcf1e8f7b904ddf639b29b2e1bb0ad681c1aad76d (patch)
tree26f946f0d162b3db297edd747a6759dd0ad4fd82
parentc8df4014b7e7cc02407dde557a45b1448f44b424 (diff)
downloadflashrom-cf1e8f7b904ddf639b29b2e1bb0ad681c1aad76d.tar.gz
flashrom-cf1e8f7b904ddf639b29b2e1bb0ad681c1aad76d.tar.bz2
flashrom-cf1e8f7b904ddf639b29b2e1bb0ad681c1aad76d.zip
Mark ENE_LPC and MEC1308 as NEED_LIBPCI
Both depend on functions from chipset_enable.c and board_enable.c, which require libpci. Signed-off-by: Victor Ding <victording@google.com> Change-Id: I9505d7f18f4781a264e29e9667b717c061ba33b8 Reviewed-on: https://review.coreboot.org/c/flashrom/+/46812 Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3a0748c2..241814aa 100644
--- a/Makefile
+++ b/Makefile
@@ -823,8 +823,10 @@ override CONFIG_SATASII = no
override CONFIG_ATAHPT = no
override CONFIG_ATAVIA = no
override CONFIG_ATAPROMISE = no
+override CONFIG_ENE_LPC = no
override CONFIG_IT8212 = no
override CONFIG_DRKAISER = no
+override CONFIG_MEC1308 = no
override CONFIG_NICREALTEK = no
override CONFIG_NICNATSEMI = no
override CONFIG_NICINTEL = no
@@ -899,12 +901,14 @@ ifeq ($(CONFIG_ENE_LPC), yes)
FEATURE_CFLAGS += -D'CONFIG_ENE_LPC=1'
PROGRAMMER_OBJS += ene_lpc.o
NEED_RAW_ACCESS += CONFIG_ENE_LPC
+NEED_LIBPCI += CONFIG_ENE_LPC
endif
ifeq ($(CONFIG_MEC1308), yes)
FEATURE_CFLAGS += -D'CONFIG_MEC1308=1'
PROGRAMMER_OBJS += mec1308.o
NEED_RAW_ACCESS += CONFIG_MEC1308
+NEED_LIBPCI += CONFIG_MEC1308
endif
ifeq ($(CONFIG_SERPROG), yes)