mirror of https://github.com/wolfSSL/wolfBoot.git
F-3968: emit build-time warning when ALLOW_DOWNGRADE=1 is set
Mirror the DISABLE_BACKUP treatment: print a $(warning ...) so the build operator gets an unmistakable signal that anti-rollback enforcement has been disabled.pull/795/head
parent
1690522078
commit
889788d2b5
|
|
@ -824,6 +824,7 @@ ifeq ($(BOOT_BENCHMARK),1)
|
|||
endif
|
||||
|
||||
ifeq ($(ALLOW_DOWNGRADE),1)
|
||||
$(warning ALLOW_DOWNGRADE=1 disables anti-rollback enforcement; signed older firmware images can replace newer ones)
|
||||
CFLAGS+= -D"ALLOW_DOWNGRADE"
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue