Skip to content

Commit bb13a75

Browse files
committed
Makefile: add docs about single targets for Rust
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 9c80547 commit bb13a75

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1707,6 +1707,10 @@ help:
17071707
@echo ' (requires kernel .config; downloads external repos)'
17081708
@echo ' rust-analyzer - Generate rust-project.json rust-analyzer support file'
17091709
@echo ' (requires kernel .config)'
1710+
@echo ' dir/file.[os] - Build specified target only'
1711+
@echo ' dir/file.i - Build macro expanded source, similar to C preprocessing'
1712+
@echo ' (run with RUSTFMT=n to skip reformatting if needed)'
1713+
@echo ' dir/file.ll - Build the LLVM assembly file'
17101714
@echo ''
17111715
@$(if $(dtstree), \
17121716
echo 'Devicetree:'; \

0 commit comments

Comments
 (0)