1# SPDX-License-Identifier: GPL-2.0 2ccflags-y += -I$(src) # needed for trace events 3 4obj-$(CONFIG_SAMPLE_RUST_MINIMAL) += rust_minimal.o 5obj-$(CONFIG_SAMPLE_RUST_MISC_DEVICE) += rust_misc_device.o 6obj-$(CONFIG_SAMPLE_RUST_PRINT) += rust_print.o 7obj-$(CONFIG_SAMPLE_RUST_DRIVER_PCI) += rust_driver_pci.o 8obj-$(CONFIG_SAMPLE_RUST_DRIVER_PLATFORM) += rust_driver_platform.o 9obj-$(CONFIG_SAMPLE_RUST_DRIVER_FAUX) += rust_driver_faux.o 10 11rust_print-y := rust_print_main.o rust_print_events.o 12 13subdir-$(CONFIG_SAMPLE_RUST_HOSTPROGS) += hostprogs 14