summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2022-08-15 11:14:50 +1000
committerEdward O'Callaghan <quasisec@chromium.org>2022-08-29 00:21:48 +0000
commit0ba49071005b2d1fe215145deff18d2e8bb178bc (patch)
tree3a3c68427d9bd3f4b06a6b3f030115d71ef7ee0a /Makefile
parent7ea50d8fe4706371141407933f8d5b74fa96cd88 (diff)
downloadflashrom-0ba49071005b2d1fe215145deff18d2e8bb178bc.tar.gz
flashrom-0ba49071005b2d1fe215145deff18d2e8bb178bc.tar.bz2
flashrom-0ba49071005b2d1fe215145deff18d2e8bb178bc.zip
print.c: Move list of known boards to known_boards.c
This free's up namespace pollution and a layer of ifdef. BUG=b:242246291 TEST=builds Change-Id: Id098343b9b79fd9b01c7dc48e64756ad350f9d83 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/66720 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Thomas Heijligen <src@posteo.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 513db8e88..f92cefdf7 100644
--- a/Makefile
+++ b/Makefile
@@ -583,12 +583,12 @@ ifeq ($(CONFIG_INTERNAL) $(CONFIG_INTERNAL_X86), yes yes)
FEATURE_FLAGS += -D'CONFIG_INTERNAL=1'
PROGRAMMER_OBJS += processor_enable.o chipset_enable.o board_enable.o cbtable.o \
internal.o it87spi.o sb600spi.o amd_imc.o wbsio_spi.o mcp6x_spi.o \
- ichspi.o dmi.o
+ ichspi.o dmi.o known_boards.o
endif
else
ifeq ($(CONFIG_INTERNAL), yes)
FEATURE_FLAGS += -D'CONFIG_INTERNAL=1'
-PROGRAMMER_OBJS += processor_enable.o chipset_enable.o board_enable.o cbtable.o internal.o
+PROGRAMMER_OBJS += processor_enable.o chipset_enable.o board_enable.o cbtable.o internal.o known_boards.o
endif
endif