Expand description
Provide helpers for building Tock boards that match the default conventions.
Functions§
- add_
board_ dir_ to_ linker_ search_ path - Include the folder where the board’s Cargo.toml is in the linker file search path.
- default_
linker_ script - Setup the Tock board to build with a board-provided linker script called
layout.ld
. - include_
tock_ kernel_ layout - Include the folder where this build_script crate’s Cargo.toml is in the
linker file search path for
tock_kernel_layout.ld
, and instruct cargo to rebuild if that linker script is changed. - rustflags_
check - set_
and_ track_ linker_ script - Pass the given linker script to cargo, and track it and all of its
INCLUDE
s - track_
linker_ script - Track the given linker script and all of its
INCLUDE
s so that the build is rerun when any of them change.