Skip to content

Commit 2156171

Browse files
committed
Makefile: move doc & test targets to prepare
Since we moved the build setup to hang from `prepare`, move the other targets as well. Otherwise, if one uses them without having built the kernel, they will not have the setup ready. Fixes: 295b4f2 ("Makefile: run Rust `build` on `prepare`") Signed-off-by: Miguel Ojeda <[email protected]>
1 parent 6e0fac6 commit 2156171

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1782,12 +1782,12 @@ rustavailable:
17821782
#
17831783
# Using the singular to avoid running afoul of `no-dot-config-targets`.
17841784
PHONY += rustdoc
1785-
rustdoc: prepare0
1785+
rustdoc: prepare
17861786
$(Q)$(MAKE) $(build)=rust $@
17871787

17881788
# Testing target
17891789
PHONY += rusttest
1790-
rusttest: prepare0
1790+
rusttest: prepare
17911791
$(Q)$(MAKE) $(build)=rust $@
17921792

17931793
# Formatting targets
@@ -1812,7 +1812,7 @@ rustfmtcheck: rustfmt
18121812

18131813
# IDE support targets
18141814
PHONY += rust-analyzer
1815-
rust-analyzer: prepare0
1815+
rust-analyzer: prepare
18161816
$(Q)$(MAKE) $(build)=rust $@
18171817

18181818
# Misc

0 commit comments

Comments
 (0)