xref: /linux/samples/rust/Makefile (revision 416f99c3b16f582a3fc6d64a1f77f39d94b76de5)
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
5fdb1ac6cSLee Jonesobj-$(CONFIG_SAMPLE_RUST_MISC_DEVICE)		+= rust_misc_device.o
622193c58SMiguel Ojedaobj-$(CONFIG_SAMPLE_RUST_PRINT)			+= rust_print.o
76f227d21SMatthew Maurerobj-$(CONFIG_SAMPLE_RUST_DEBUGFS)		+= rust_debugfs.o
8d4a5d397SMatthew Maurerobj-$(CONFIG_SAMPLE_RUST_DEBUGFS_SCOPED)	+= rust_debugfs_scoped.o
99901addaSAbdiel Janulgueobj-$(CONFIG_SAMPLE_RUST_DMA)			+= rust_dma.o
10d05b8e97SIgor Korotinobj-$(CONFIG_SAMPLE_RUST_DRIVER_I2C)		+= rust_driver_i2c.o
11*13ae55e2SIgor Korotinobj-$(CONFIG_SAMPLE_RUST_I2C_CLIENT)		+= rust_i2c_client.o
12685376d1SDanilo Krummrichobj-$(CONFIG_SAMPLE_RUST_DRIVER_PCI)		+= rust_driver_pci.o
13b2e8a832SDanilo Krummrichobj-$(CONFIG_SAMPLE_RUST_DRIVER_PLATFORM)	+= rust_driver_platform.o
14cc80dbb7SDaniel Almeidaobj-$(CONFIG_SAMPLE_RUST_DRIVER_USB)		+= rust_driver_usb.o
1578418f30SLyude Paulobj-$(CONFIG_SAMPLE_RUST_DRIVER_FAUX)		+= rust_driver_faux.o
1696609a19SDanilo Krummrichobj-$(CONFIG_SAMPLE_RUST_DRIVER_AUXILIARY)	+= rust_driver_auxiliary.o
171bfb1050SAndreas Hindborgobj-$(CONFIG_SAMPLE_RUST_CONFIGFS)		+= rust_configfs.o
1822193c58SMiguel Ojeda
1922193c58SMiguel Ojedarust_print-y := rust_print_main.o rust_print_events.o
20e4fc6580SMiguel Ojeda
21e4fc6580SMiguel Ojedasubdir-$(CONFIG_SAMPLE_RUST_HOSTPROGS)		+= hostprogs
22