1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-01 21:47:46 +00:00

dependency builds use Cargo

With this change, individual submodules can specify their dependencies with
an additional file called "deps.mk" in the subdir. When building, only
the dependencies that are necessary are built, using cargo, and then linked.

This greatly simplifies adding new dependencies: add the package in
deps/Cargo.toml, and add the appropriate line in "deps.mk" in the
src/utilname/ directory, and the dependency will be built automatically
as needed.

This also removes the need to use git submodules.
This commit is contained in:
kwantam 2015-04-25 18:22:56 -04:00
parent c6585b7086
commit d4f39e1638
23 changed files with 97 additions and 57 deletions

2
.gitignore vendored
View file

@ -2,6 +2,8 @@
/target/
/tmp/
/busybox/
/deps/target/
*~
.*.swp
.*.swo
Cargo.lock