diff --git a/recipes/core/base/recipe.toml b/recipes/core/base/recipe.toml index 0044430ee..f70fa6b1f 100644 --- a/recipes/core/base/recipe.toml +++ b/recipes/core/base/recipe.toml @@ -13,4 +13,13 @@ for package in ipcd ptyd; do "target/${TARGET}/${build_type}/${package}" \ "${COOKBOOK_STAGE}/usr/bin/${package}" done + +"${COOKBOOK_CARGO}" build \ + --manifest-path "${COOKBOOK_SOURCE}/netstack/Cargo.toml" \ + ${build_flags} +for bin in smolnetd dnsd; do + cp -v \ + "target/${TARGET}/${build_type}/${bin}" \ + "${COOKBOOK_STAGE}/usr/bin/${bin}" +done """ diff --git a/recipes/core/netstack/recipe.toml b/recipes/core/netstack/recipe.toml deleted file mode 100644 index c2a534a28..000000000 --- a/recipes/core/netstack/recipe.toml +++ /dev/null @@ -1,5 +0,0 @@ -[source] -git = "https://gitlab.redox-os.org/redox-os/netstack.git" - -[build] -template = "cargo"