Skip to content

Commit 6ef5298

Browse files
Makefile: Don't build ZIP update package for talos-2
talos-2 builds its own tgz update package that is not currently integrated with the zip method. While the zip method right now would theoretically if the tgz was inside it, this would have to be hooked up for talos-2 specifically. Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
1 parent 51e2d78 commit 6ef5298

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,9 @@ ifeq ($(CONFIG_COREBOOT), y)
173173
# Legacy flash boards don't generate an update package, the only purpose of
174174
# those boards is to be flashed over vendor firmware via an exploit.
175175
ifneq ($(CONFIG_LEGACY_FLASH), y)
176+
# talos-2 builds its own update package, which is not integrated with the ZIP
177+
# method currently
178+
ifneq ($(BOARD), talos-2)
176179
# Coreboot targets create an update package that can be applied with integrity
177180
# verification before flashing (see flash-gui.sh). The ZIP package format
178181
# allows other metadata that might be needed to added in the future without
@@ -186,6 +189,7 @@ $(board_build)/$(CB_UPDATE_PKG_FILE): $(board_build)/$(CB_OUTPUT_FILE)
186189

187190
all: $(board_build)/$(CB_OUTPUT_FILE) $(board_build)/$(CB_UPDATE_PKG_FILE)
188191
endif
192+
endif
189193

190194
ifneq ($(CONFIG_COREBOOT_BOOTBLOCK),)
191195
all: $(board_build)/$(CB_BOOTBLOCK_FILE)

0 commit comments

Comments
 (0)