xref: /openbmc/linux/drivers/net/netdevsim/Makefile (revision 02b34d03)
183c9e13aSJakub Kicinski# SPDX-License-Identifier: GPL-2.0
283c9e13aSJakub Kicinski
383c9e13aSJakub Kicinskiobj-$(CONFIG_NETDEVSIM) += netdevsim.o
483c9e13aSJakub Kicinski
583c9e13aSJakub Kicinskinetdevsim-objs := \
61a6d7ae7SPetr Machata	netdev.o dev.o ethtool.o fib.o bus.o health.o hwstats.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
16a8700c3dSIdo Schimmel
17a8700c3dSIdo Schimmelifneq ($(CONFIG_PSAMPLE),)
18a8700c3dSIdo Schimmelnetdevsim-objs += psample.o
19a8700c3dSIdo Schimmelendif
20*02b34d03SSabrina Dubroca
21*02b34d03SSabrina Dubrocaifneq ($(CONFIG_MACSEC),)
22*02b34d03SSabrina Dubrocanetdevsim-objs += macsec.o
23*02b34d03SSabrina Dubrocaendif
24