Commit 29f9540d authored by Jerzy Kasenberg's avatar Jerzy Kasenberg Committed by Dominik Ermel
Browse files

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: default avatarJerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
parent f08ace63
Loading
Loading
Loading
Loading
+1 −0
Changes for boot/bootutil/pkg.yml: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -43,6 +43,7 @@ pkg.deps:

pkg.ign_files.BOOTUTIL_SINGLE_APPLICATION_SLOT:
    - "loader.c"
    - "swap_scratch.c"

pkg.deps.BOOTUTIL_USE_MBED_TLS:
    - "@apache-mynewt-core/crypto/mbedtls"
+2 −0
Changes for boot/mynewt/pkg.yml: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -37,6 +37,8 @@ pkg.deps:

pkg.ign_files.!BOOTUTIL_SINGLE_APPLICATION_SLOT:
    - "single_loader.c"
pkg.ign_files.BOOTUTIL_SINGLE_APPLICATION_SLOT:
    - "swap_scratch.c"

pkg.deps.BOOTUTIL_NO_LOGGING:
    - "@apache-mynewt-core/sys/console/stub"