Skip to content

Commit 0ec75df

Browse files
committed
fix CI build errors
1 parent 5ed71ac commit 0ec75df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/update_flash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ static int RAMFUNCTION wolfBoot_update(int fallback_allowed)
829829
if (wolfBoot_check_flash_image_elf(PART_BOOT, &entry) < 0) {
830830
wolfBoot_printf("ELF Scattered image digest check: failed. Restoring "
831831
"scattered image...\n");
832-
wolfBoot_load_flash_image_elf(base, &entry, PART_IS_EXT(boot));
832+
wolfBoot_load_flash_image_elf(PART_BOOT, &entry, PART_IS_EXT(boot));
833833
if (wolfBoot_check_flash_image_elf(PART_BOOT, &entry) < 0) {
834834
wolfBoot_printf(
835835
"Fatal: Could not verify digest after scattering. Panic().\n");

tools/squashelf/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
CC = gcc
44
LD = gcc
55
CFLAGS = -Wall -Wextra -Werror
6-
LDFLAGS = -lelf
6+
LDFLAGS =
77
TARGET = squashelf
88
CFLAGS_EXTRA = # Allow additional flags to be passed via command line
99

0 commit comments

Comments
 (0)