xref: /linux/drivers/hid/bpf/Makefile (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1f5c27da4SBenjamin Tissoires# SPDX-License-Identifier: GPL-2.0
2f5c27da4SBenjamin Tissoires#
3f5c27da4SBenjamin Tissoires# Makefile for HID-BPF
4f5c27da4SBenjamin Tissoires#
5f5c27da4SBenjamin Tissoires
6f5c27da4SBenjamin TissoiresLIBBPF_INCLUDE = $(srctree)/tools/lib
7f5c27da4SBenjamin Tissoires
8f5c27da4SBenjamin Tissoiresobj-$(CONFIG_HID_BPF) += hid_bpf.o
9f5c27da4SBenjamin TissoiresCFLAGS_hid_bpf_dispatch.o += -I$(LIBBPF_INCLUDE)
10f5c27da4SBenjamin TissoiresCFLAGS_hid_bpf_jmp_table.o += -I$(LIBBPF_INCLUDE)
11*4a86220eSBenjamin Tissoireshid_bpf-objs += hid_bpf_dispatch.o hid_bpf_struct_ops.o
12