2017-12-02 07:08:58 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
|
|
|
obj-$(CONFIG_NETDEVSIM) += netdevsim.o
|
|
|
|
|
|
|
|
netdevsim-objs := \
|
2022-03-14 22:01:15 +08:00
|
|
|
netdev.o dev.o ethtool.o fib.o bus.o health.o hwstats.o udp_tunnels.o
|
2018-01-24 03:22:54 +08:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_BPF_SYSCALL),y)
|
|
|
|
netdevsim-objs += \
|
|
|
|
bpf.o
|
|
|
|
endif
|
2018-03-28 09:22:00 +08:00
|
|
|
|
2018-06-27 01:07:54 +08:00
|
|
|
ifneq ($(CONFIG_XFRM_OFFLOAD),)
|
|
|
|
netdevsim-objs += ipsec.o
|
|
|
|
endif
|
2021-03-14 20:19:32 +08:00
|
|
|
|
|
|
|
ifneq ($(CONFIG_PSAMPLE),)
|
|
|
|
netdevsim-objs += psample.o
|
|
|
|
endif
|
2023-07-13 21:20:23 +08:00
|
|
|
|
|
|
|
ifneq ($(CONFIG_MACSEC),)
|
|
|
|
netdevsim-objs += macsec.o
|
|
|
|
endif
|