Skip to content

Commit 0f8f30d

Browse files
authored
Merge pull request #457 from danielinux/otp-regressions
Fix build OTP options
2 parents 1967cc2 + 391e8d0 commit 0f8f30d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ $(PRIVATE_KEY):
192192
$(Q)$(MAKE) keytools_check
193193
$(Q)(test $(SIGN) = NONE) || ("$(KEYGEN_TOOL)" $(KEYGEN_OPTIONS) -g $(PRIVATE_KEY)) || true
194194
$(Q)(test $(SIGN) = NONE) && (echo "// SIGN=NONE" > src/keystore.c) || true
195-
$(Q)(test $(FLASH_OTP_KEYSTORE) = 0) || (make -C tools/keytools/otp) || true
195+
$(Q)(test "$(FLASH_OTP_KEYSTORE)" = "1") && (make -C tools/keytools/otp) || true
196196

197197
keytools: include/target.h
198198
@echo "Building key tools"

include/image.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ int wolfBot_get_dts_size(void *dts_addr);
8282

8383

8484

85-
#if defined(WOLFBOOT_ARMORED)
85+
#if (defined(WOLFBOOT_ARMORED) && defined(__WOLFBOOT))
8686

8787
#if !defined(ARCH_ARM) || !defined(__GNUC__)
8888
# error WOLFBOOT_ARMORED only available with arm-gcc compiler

0 commit comments

Comments
 (0)