mynewt: Igore swap_scratch.c for single application slot
swap_scratch.c requires definition of SLOT1, in single application slot build it's not needed and file would not be used anyway so now it is removed from mynewt build Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
This commit is contained in:
parent
f08ace635a
commit
29f9540db8
|
@ -43,6 +43,7 @@ pkg.deps:
|
||||||
|
|
||||||
pkg.ign_files.BOOTUTIL_SINGLE_APPLICATION_SLOT:
|
pkg.ign_files.BOOTUTIL_SINGLE_APPLICATION_SLOT:
|
||||||
- "loader.c"
|
- "loader.c"
|
||||||
|
- "swap_scratch.c"
|
||||||
|
|
||||||
pkg.deps.BOOTUTIL_USE_MBED_TLS:
|
pkg.deps.BOOTUTIL_USE_MBED_TLS:
|
||||||
- "@apache-mynewt-core/crypto/mbedtls"
|
- "@apache-mynewt-core/crypto/mbedtls"
|
||||||
|
|
|
@ -37,6 +37,8 @@ pkg.deps:
|
||||||
|
|
||||||
pkg.ign_files.!BOOTUTIL_SINGLE_APPLICATION_SLOT:
|
pkg.ign_files.!BOOTUTIL_SINGLE_APPLICATION_SLOT:
|
||||||
- "single_loader.c"
|
- "single_loader.c"
|
||||||
|
pkg.ign_files.BOOTUTIL_SINGLE_APPLICATION_SLOT:
|
||||||
|
- "swap_scratch.c"
|
||||||
|
|
||||||
pkg.deps.BOOTUTIL_NO_LOGGING:
|
pkg.deps.BOOTUTIL_NO_LOGGING:
|
||||||
- "@apache-mynewt-core/sys/console/stub"
|
- "@apache-mynewt-core/sys/console/stub"
|
||||||
|
|
Loading…
Reference in New Issue