Skip to content

Commit

Permalink
sim: Fix build paths for new directory layout
Browse files Browse the repository at this point in the history
The zephyr sources have moved to a different directory.  Adjust the
build script to fix the paths referenced.
  • Loading branch information
d3zd3z committed Jan 10, 2017
1 parent c638f79 commit dc1964c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sim/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ fn main() {
conf.file("../boot/bootutil/src/bootutil_misc.c");
conf.file("csupport/run.c");
conf.include("../boot/bootutil/include");
conf.include("../zephyr/include");
conf.include("../boot/zephyr/include");
conf.debug(true);
conf.compile("libbootutil.a");
walk_dir("../boot").unwrap();
walk_dir("csupport").unwrap();
walk_dir("../zephyr").unwrap();
}

// Output the names of all files within a directory so that Cargo knows when to rebuild.
Expand Down

0 comments on commit dc1964c

Please sign in to comment.