Skip to content

Commit 400b2aa

Browse files
committed
Makefile: use stdout for rustavailable
Given the message is the main point of running `rustavailable` for normal users, and those that just want the status code may ignore it, change the target to print to `stdout`. Link: https://lore.kernel.org/lkml/CAK7LNAQZOTjxJyS3WC1sM7LE-An7DL8xoW=-s1ONe7cq4YukNQ@mail.gmail.com/ Suggested-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 856eb0e commit 400b2aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1807,7 +1807,7 @@ $(DOC_TARGETS):
18071807
# "Is Rust available?" target
18081808
PHONY += rustavailable
18091809
rustavailable:
1810-
$(Q)$(CONFIG_SHELL) $(srctree)/scripts/rust-is-available.sh -v && echo >&2 "Rust is available!"
1810+
$(Q)$(CONFIG_SHELL) $(srctree)/scripts/rust-is-available.sh -v && echo "Rust is available!"
18111811

18121812
# Documentation target
18131813
#

0 commit comments

Comments
 (0)