aboutsummaryrefslogtreecommitdiff
path: root/samples/rust/Makefile
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2022-11-10 17:41:16 +0100
committerMiguel Ojeda <ojeda@kernel.org>2022-12-01 20:13:11 +0100
commitc3630df66f95e6c18987734b39f0239303dd72d8 (patch)
tree628d0df227bb069221e0d8bfc176fdbe618acaa9 /samples/rust/Makefile
parentfc6c7cac83f05f455be1f35160a618e9df103838 (diff)
rust: samples: add `rust_print` example
Add example to exercise the printing macros (`pr_*!`) introduced in the previous patches. Reviewed-by: Finn Behrens <me@kloenk.dev> Reviewed-by: Wei Liu <wei.liu@kernel.org> Tested-by: Sergio González Collado <sergio.collado@gmail.com> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'samples/rust/Makefile')
-rw-r--r--samples/rust/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/rust/Makefile b/samples/rust/Makefile
index 1daba5f8658a..03086dabbea4 100644
--- a/samples/rust/Makefile
+++ b/samples/rust/Makefile
@@ -1,5 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_SAMPLE_RUST_MINIMAL) += rust_minimal.o
+obj-$(CONFIG_SAMPLE_RUST_PRINT) += rust_print.o
subdir-$(CONFIG_SAMPLE_RUST_HOSTPROGS) += hostprogs