Skip to content
Commit ccf51e3c authored by Carlo Caione's avatar Carlo Caione Committed by Anas Nashif
Browse files

gen_relocate_app: Create files from scratch, do not append



The problem with append is that when doing incremental (non-clean)
build, the content of these files are appended each time to the previous
leftover content.

Example:

 # west build -p -b qemu_cortex_m3 \
 	samples/application_development/code_relocation/

 #   // disable for example CONFIG_XIP

 # west build -b qemu_cortex_m3 \
        samples/application_development/code_relocation/

at this point the content of the generated files (i.e.
linker_relocate.ld) is wrong.

Signed-off-by: default avatarCarlo Caione <ccaione@baylibre.com>
parent 5838c4d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment