aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-03-19 15:32:43 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-03-19 15:32:43 -0400
commitd22c79d2fff10dd782caf5668fd019387914a5bb (patch)
tree925cb69fd87aaead425c9dc1a105105aaa390711
parenteb13ae8d5efc3819af421fcbb36740eca5c63eef (diff)
downloadbcachefs-tools-d22c79d2fff10dd782caf5668fd019387914a5bb.tar.gz
Fix build dependencies
Incremental builds are fast again Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index cd85880a..8a85e01c 100644
--- a/Makefile
+++ b/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))