mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
Fix build dependencies
Incremental builds are fast again Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
eb13ae8d5e
commit
d22c79d2ff
4
Makefile
4
Makefile
@ -132,8 +132,8 @@ libbcachefs.a: $(filter-out ./tests/%.o, $(OBJS))
|
||||
@echo " [AR] $@"
|
||||
$(Q)ar -rc $@ $+
|
||||
|
||||
RUST_SRCS=$(shell find rust-src/ -type f -iname '*.rs')
|
||||
rust-src/target/release/libbcachefs_rust.a: libbcachefs.a $(RUST_SRCS)
|
||||
RUST_SRCS=$(shell find rust-src/src rust-src/bch_bindgen/src -type f -iname '*.rs')
|
||||
rust-src/target/release/libbcachefs_rust.a: $(RUST_SRCS)
|
||||
$(CARGO_BUILD) --manifest-path rust-src/Cargo.toml
|
||||
|
||||
tests/test_helper: $(filter ./tests/%.o, $(OBJS))
|
||||
|
Loading…
Reference in New Issue
Block a user