xref: /linux/samples/rust/Makefile (revision fdb1ac6c302689b286eca9bb7247111bffc7db17)
1e4fc6580SMiguel Ojeda# SPDX-License-Identifier: GPL-2.0
291d39024SAlice Ryhlccflags-y += -I$(src)				# needed for trace events
3e4fc6580SMiguel Ojeda
4e4fc6580SMiguel Ojedaobj-$(CONFIG_SAMPLE_RUST_MINIMAL)		+= rust_minimal.o
5*fdb1ac6cSLee Jonesobj-$(CONFIG_SAMPLE_RUST_MISC_DEVICE)		+= rust_misc_device.o
622193c58SMiguel Ojedaobj-$(CONFIG_SAMPLE_RUST_PRINT)			+= rust_print.o
722193c58SMiguel Ojeda
822193c58SMiguel Ojedarust_print-y := rust_print_main.o rust_print_events.o
9e4fc6580SMiguel Ojeda
10e4fc6580SMiguel Ojedasubdir-$(CONFIG_SAMPLE_RUST_HOSTPROGS)		+= hostprogs
11