mirror of https://github.com/wolfSSL/wolfBoot.git
Copilot review follow-up: ?= considers a defined-but-empty LSCRIPT_IN (stale LSCRIPT_IN?= line in .config, exported empty env var) already set, so it skipped every target-specific default and fell through to the last-resort hal/$(TARGET).ld - e.g. TARGET=stm32l5 TZEN=0 lost its hal/stm32l5-ns.ld layout. The strip-based last-resort check only fixed that one line, not the 32 target sites. Add the LSCRIPT_IN_DEFAULT helper in tools/config.mk (assigns only when LSCRIPT_IN is undefined or empty) and convert all 29 arch.mk, 2 board.mk and 1 stage1/Makefile sites to it. |
||
|---|---|---|
| .. | ||
| Makefile | ||
| loader_stage1.c | ||
| x86_fsp.mk | ||