Module default

Source
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 INCLUDEs
track_linker_script
Track the given linker script and all of its INCLUDEs so that the build is rerun when any of them change.