1e4fc6580SMiguel Ojeda# SPDX-License-Identifier: GPL-2.0 2*91d39024SAlice Ryhlccflags-y += -I$(src) # needed for trace events 3e4fc6580SMiguel Ojeda 4e4fc6580SMiguel Ojedaobj-$(CONFIG_SAMPLE_RUST_MINIMAL) += rust_minimal.o 5*91d39024SAlice Ryhlobj-$(CONFIG_SAMPLE_RUST_PRINT) += rust_print.o rust_print_events.o 6e4fc6580SMiguel Ojeda 7e4fc6580SMiguel Ojedasubdir-$(CONFIG_SAMPLE_RUST_HOSTPROGS) += hostprogs 8