5050
5151# Extra .conf fragments to merge into the MCUboot .config, as a
5252# semicolon-separated list (i.e., a CMake list).
53- BOOTLOADER_OVERLAY_CONFIG ?=
53+ BOOTLOADER_EXTRA_CONF_FILE ?=
5454
5555BOARD ?= frdm_k64f
5656SLOT_SIZE ?= 0x60000
@@ -110,7 +110,7 @@ boot: check
110110 @rm -f mcuboot.bin
111111 (mkdir -p $( BUILD_DIR_BOOT) && \
112112 cd $(BUILD_DIR_BOOT ) && \
113- cmake -DOVERLAY_CONFIG =$(BOOTLOADER_OVERLAY_CONFIG ) \
113+ cmake -DEXTRA_CONF_FILE =$(BOOTLOADER_EXTRA_CONF_FILE ) \
114114 -G" Ninja" \
115115 -DBOARD=$(BOARD ) \
116116 $(SOURCE_DIRECTORY ) /../../boot/zephyr && \
@@ -193,7 +193,7 @@ flash_full:
193193# reset: hello1 runs
194194test-good-rsa : clean
195195 $(MAKE ) \
196- BOOTLOADER_OVERLAY_CONFIG =$(PWD ) /overlay-rsa.conf \
196+ BOOTLOADER_EXTRA_CONF_FILE =$(PWD ) /overlay-rsa.conf \
197197 all
198198
199199# Test a good image, with a good upgrade, using ECDSA signatures.
@@ -203,7 +203,7 @@ test-good-rsa: clean
203203# reset: hello1 runs
204204test-good-ecdsa : clean
205205 $(MAKE ) \
206- BOOTLOADER_OVERLAY_CONFIG =$(PWD ) /overlay-ecdsa-p256.conf \
206+ BOOTLOADER_EXTRA_CONF_FILE =$(PWD ) /overlay-ecdsa-p256.conf \
207207 SIGNING_KEY=../../root-ec-p256.pem \
208208 all
209209
@@ -215,7 +215,7 @@ test-good-ecdsa: clean
215215# reset: hello2 runs
216216test-overwrite : clean
217217 $(MAKE ) \
218- BOOTLOADER_OVERLAY_CONFIG =$(PWD ) /overlay-upgrade-only.conf \
218+ BOOTLOADER_EXTRA_CONF_FILE =$(PWD ) /overlay-upgrade-only.conf \
219219 all
220220
221221# Test that when configured for RSA, a wrong signature in the upgrade
@@ -226,10 +226,10 @@ test-overwrite: clean
226226# reset: hello1 runs
227227test-bad-rsa-upgrade : clean
228228 $(MAKE ) \
229- BOOTLOADER_OVERLAY_CONFIG =$(PWD ) /overlay-rsa.conf \
229+ BOOTLOADER_EXTRA_CONF_FILE =$(PWD ) /overlay-rsa.conf \
230230 boot hello1
231231 $(MAKE ) \
232- BOOTLOADER_OVERLAY_CONFIG =$(PWD ) /overlay-rsa.conf \
232+ BOOTLOADER_EXTRA_CONF_FILE =$(PWD ) /overlay-rsa.conf \
233233 SIGNING_KEY=../../root-ec-p256.pem \
234234 hello2
235235
@@ -241,11 +241,11 @@ test-bad-rsa-upgrade: clean
241241# reset: hello1 runs
242242test-bad-ecdsa-upgrade : clean
243243 $(MAKE ) \
244- BOOTLOADER_OVERLAY_CONFIG =$(PWD ) /overlay-ecdsa-p256.conf \
244+ BOOTLOADER_EXTRA_CONF_FILE =$(PWD ) /overlay-ecdsa-p256.conf \
245245 SIGNING_KEY=../../root-ec-p256.pem \
246246 boot hello1
247247 $(MAKE ) \
248- BOOTLOADER_OVERLAY_CONFIG =$(PWD ) /overlay-ecdsa-p256.conf \
248+ BOOTLOADER_EXTRA_CONF_FILE =$(PWD ) /overlay-ecdsa-p256.conf \
249249 SIGNING_KEY=../../root-rsa-2048.pem \
250250 hello2
251251
@@ -257,7 +257,7 @@ test-bad-ecdsa-upgrade: clean
257257# reset: hello1 runs
258258test-no-bootcheck : clean
259259 $(MAKE ) \
260- BOOTLOADER_OVERLAY_CONFIG =$(PWD ) /overlay-skip-primary-slot-validate.conf \
260+ BOOTLOADER_EXTRA_CONF_FILE =$(PWD ) /overlay-skip-primary-slot-validate.conf \
261261 SIGNING_KEY=../../root-ec-p256.pem \
262262 all
263263
@@ -268,10 +268,10 @@ test-no-bootcheck: clean
268268# reset: hello1 runs
269269test-wrong-rsa : clean
270270 $(MAKE ) \
271- BOOTLOADER_OVERLAY_CONFIG =$(PWD ) /overlay-rsa.conf \
271+ BOOTLOADER_EXTRA_CONF_FILE =$(PWD ) /overlay-rsa.conf \
272272 boot hello1
273273 $(MAKE ) \
274- BOOTLOADER_OVERLAY_CONFIG =$(PWD ) /overlay-rsa.conf \
274+ BOOTLOADER_EXTRA_CONF_FILE =$(PWD ) /overlay-rsa.conf \
275275 SIGNING_KEY=bad-keys/bad-rsa-2048.pem \
276276 hello2
277277
@@ -282,11 +282,11 @@ test-wrong-rsa: clean
282282# reset: hello1 runs
283283test-wrong-ecdsa : clean
284284 $(MAKE ) \
285- BOOTLOADER_OVERLAY_CONFIG =$(PWD ) /overlay-ecdsa-p256.conf \
285+ BOOTLOADER_EXTRA_CONF_FILE =$(PWD ) /overlay-ecdsa-p256.conf \
286286 SIGNING_KEY=../../root-ec-p256.pem \
287287 boot hello1
288288 $(MAKE ) \
289- BOOTLOADER_OVERLAY_CONFIG =$(PWD ) /overlay-ecdsa-p256.conf \
289+ BOOTLOADER_EXTRA_CONF_FILE =$(PWD ) /overlay-ecdsa-p256.conf \
290290 SIGNING_KEY=bad-keys/bad-ec-p256.pem \
291291 hello2
292292
0 commit comments