xref: /openbmc/linux/drivers/net/netdevsim/Makefile (revision 7699353d)
183c9e13aSJakub Kicinski# SPDX-License-Identifier: GPL-2.0
283c9e13aSJakub Kicinski
383c9e13aSJakub Kicinskiobj-$(CONFIG_NETDEVSIM) += netdevsim.o
483c9e13aSJakub Kicinski
583c9e13aSJakub Kicinskinetdevsim-objs := \
683c9e13aSJakub Kicinski	netdev.o \
77c5db7e7SJakub Kicinski
87c5db7e7SJakub Kicinskiifeq ($(CONFIG_BPF_SYSCALL),y)
97c5db7e7SJakub Kicinskinetdevsim-objs += \
107c5db7e7SJakub Kicinski	bpf.o
117c5db7e7SJakub Kicinskiendif
1237923ed6SDavid Ahern
1337923ed6SDavid Ahernifneq ($(CONFIG_NET_DEVLINK),)
1437923ed6SDavid Ahernnetdevsim-objs += devlink.o fib.o
1537923ed6SDavid Ahernendif
167699353dSShannon Nelson
177699353dSShannon Nelsonifneq ($(CONFIG_XFRM_OFFLOAD),)
187699353dSShannon Nelsonnetdevsim-objs += ipsec.o
197699353dSShannon Nelsonendif
20