diff --git a/sim/mcuboot-sys/build.rs b/sim/mcuboot-sys/build.rs index 4f4cf9e0..1b3c7d40 100644 --- a/sim/mcuboot-sys/build.rs +++ b/sim/mcuboot-sys/build.rs @@ -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(); } diff --git a/sim/csupport/run.c b/sim/mcuboot-sys/csupport/run.c similarity index 99% rename from sim/csupport/run.c rename to sim/mcuboot-sys/csupport/run.c index 5a817cce..261f24a0 100644 --- a/sim/csupport/run.c +++ b/sim/mcuboot-sys/csupport/run.c @@ -8,7 +8,7 @@ #include #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