mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
add board selector to build args
This commit is contained in:
parent
84f88e9e65
commit
e581eb0b06
1 changed files with 5 additions and 0 deletions
|
|
@ -523,6 +523,11 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
builder.add_kernel_feature("v2p");
|
builder.add_kernel_feature("v2p");
|
||||||
builder.add_feature("mass-storage");
|
builder.add_feature("mass-storage");
|
||||||
builder.add_feature("ditherpunk");
|
builder.add_feature("ditherpunk");
|
||||||
|
|
||||||
|
// select the board
|
||||||
|
builder.add_feature("board-baosec");
|
||||||
|
builder.add_loader_feature("board-baosec");
|
||||||
|
|
||||||
match task.as_deref() {
|
match task.as_deref() {
|
||||||
Some("cramium-fpga") => builder.target_cramium_fpga(),
|
Some("cramium-fpga") => builder.target_cramium_fpga(),
|
||||||
Some("cramium-soc") => builder.target_cramium_soc(),
|
Some("cramium-soc") => builder.target_cramium_soc(),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue