xref: /linux/drivers/net/netdevsim/Makefile (revision ff1f7c17fb20183a4ab5ce92bdb3f3675fb4f751)
183c9e13aSJakub Kicinski# SPDX-License-Identifier: GPL-2.0
283c9e13aSJakub Kicinski
383c9e13aSJakub Kicinskiobj-$(CONFIG_NETDEVSIM) += netdevsim.o
483c9e13aSJakub Kicinski
583c9e13aSJakub Kicinskinetdevsim-objs := \
6*ff1f7c17SJakub Kicinski	netdev.o dev.o ethtool.o fib.o bus.o health.o udp_tunnels.o
77c5db7e7SJakub Kicinski
87c5db7e7SJakub Kicinskiifeq ($(CONFIG_BPF_SYSCALL),y)
97c5db7e7SJakub Kicinskinetdevsim-objs += \
107c5db7e7SJakub Kicinski	bpf.o
117c5db7e7SJakub Kicinskiendif
1237923ed6SDavid Ahern
137699353dSShannon Nelsonifneq ($(CONFIG_XFRM_OFFLOAD),)
147699353dSShannon Nelsonnetdevsim-objs += ipsec.o
157699353dSShannon Nelsonendif
16