sim: Move csupport into mcuboot-sys

This C code is also part of the binding.  Move it into the binding crate
to reflect this.

Signed-off-by: David Brown <david.brown@linaro.org>
This commit is contained in:
David Brown 2017-07-12 09:51:31 -06:00 committed by David Brown
parent 82bf7c2d09
commit d2b1853f02
2 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ fn main() {
conf.file("../../boot/bootutil/src/loader.c");
conf.file("../../boot/bootutil/src/caps.c");
conf.file("../../boot/bootutil/src/bootutil_misc.c");
conf.file("../csupport/run.c");
conf.file("csupport/run.c");
conf.include("../../boot/bootutil/include");
conf.include("../../boot/zephyr/include");
conf.debug(true);
@ -64,7 +64,7 @@ fn main() {
conf.compile("libbootutil.a");
walk_dir("../../boot").unwrap();
walk_dir("../csupport").unwrap();
walk_dir("csupport").unwrap();
walk_dir("mbedtls/include").unwrap();
walk_dir("mbedtls/library").unwrap();
}

View File

@ -8,7 +8,7 @@
#include <bootutil/image.h>
#include "flash_map/flash_map.h"
#include "../../boot/bootutil/src/bootutil_priv.h"
#include "../../../boot/bootutil/src/bootutil_priv.h"
#define BOOT_LOG_LEVEL BOOT_LOG_LEVEL_ERROR
#include <bootutil/bootutil_log.h>