mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
add a minimal target
This commit is contained in:
parent
bb3d96de27
commit
0940894b27
1 changed files with 10 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ fn try_main() -> Result<(), DynError> {
|
||||||
"keyboard",
|
"keyboard",
|
||||||
"trng",
|
"trng",
|
||||||
"llio",
|
"llio",
|
||||||
"kernel-test",
|
//"kernel-test",
|
||||||
];
|
];
|
||||||
let fcc_pkgs = [
|
let fcc_pkgs = [
|
||||||
"shell",
|
"shell",
|
||||||
|
|
@ -72,6 +72,14 @@ fn try_main() -> Result<(), DynError> {
|
||||||
"xous-names",
|
"xous-names",
|
||||||
"trng",
|
"trng",
|
||||||
];
|
];
|
||||||
|
let minimal_pkgs = [
|
||||||
|
"ticktimer-server",
|
||||||
|
"log-server",
|
||||||
|
"xous-names",
|
||||||
|
"trng",
|
||||||
|
"llio",
|
||||||
|
"kernel-test",
|
||||||
|
];
|
||||||
let task = env::args().nth(1);
|
let task = env::args().nth(1);
|
||||||
match task.as_deref() {
|
match task.as_deref() {
|
||||||
Some("renode-image") => renode_image(false, &hw_pkgs)?,
|
Some("renode-image") => renode_image(false, &hw_pkgs)?,
|
||||||
|
|
@ -90,6 +98,7 @@ fn try_main() -> Result<(), DynError> {
|
||||||
Some("hw-image") => build_hw_image(false, env::args().nth(2), &hw_pkgs)?,
|
Some("hw-image") => build_hw_image(false, env::args().nth(2), &hw_pkgs)?,
|
||||||
Some("benchmark") => build_hw_image(false, env::args().nth(2), &benchmark_pkgs)?,
|
Some("benchmark") => build_hw_image(false, env::args().nth(2), &benchmark_pkgs)?,
|
||||||
Some("fcc-agent") => build_hw_image(false, env::args().nth(2), &fcc_pkgs)?,
|
Some("fcc-agent") => build_hw_image(false, env::args().nth(2), &fcc_pkgs)?,
|
||||||
|
Some("minimal") => build_hw_image(false, env::args().nth(2), &minimal_pkgs)?,
|
||||||
Some("debug") => run(true)?,
|
Some("debug") => run(true)?,
|
||||||
_ => print_help(),
|
_ => print_help(),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue