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