Skip to content

Commit e015209

Browse files
m-goreckinordicjm
authored andcommitted
bootutil: mynewt: Improve BOOTUTIL configuration
This makes bootutil_public.c the only source file built for non-bootloader builds, so we don't have to set bootutil syscfgs that are relevant only to the bootloader when building an application. Signed-off-by: Michal Gorecki <michal.gorecki@codecoup.pl>
1 parent ababaee commit e015209

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

boot/bootutil/pkg.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ pkg.ign_files:
4747
- "ed25519_psa.c" # Currently no PSA for mynewet
4848
- "encrypted_psa.c"
4949

50+
pkg.source_files.!BOOT_LOADER:
51+
- "src/bootutil_public.c"
52+
5053
pkg.deps.BOOTUTIL_USE_MBED_TLS:
5154
- "@apache-mynewt-core/crypto/mbedtls"
5255

0 commit comments

Comments
 (0)