Skip to content

Commit 51e2d78

Browse files
Makefile: Only add update package to all if it's actually built
Only add the update package to all if it is actually being built, fixes default target with CONFIG_LEGACY_FLASH=y. Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
1 parent bb72944 commit 51e2d78

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,10 @@ $(board_build)/$(CB_UPDATE_PKG_FILE): $(board_build)/$(CB_OUTPUT_FILE)
183183
cp "$<" "$(board_build)/update_pkg/"
184184
cd "$(board_build)/update_pkg" && sha256sum "$(CB_OUTPUT_FILE)" >sha256sum.txt
185185
cd "$(board_build)/update_pkg" && zip -9 "$@" "$(CB_OUTPUT_FILE)" sha256sum.txt
186-
endif
187186

188187
all: $(board_build)/$(CB_OUTPUT_FILE) $(board_build)/$(CB_UPDATE_PKG_FILE)
188+
endif
189+
189190
ifneq ($(CONFIG_COREBOOT_BOOTBLOCK),)
190191
all: $(board_build)/$(CB_BOOTBLOCK_FILE)
191192
endif

0 commit comments

Comments
 (0)