| 1 |
# SPDX-License-Identifier: GPL-2.0 |
| 2 |
|
| 3 |
obj-$(CONFIG_NETDEVSIM) += netdevsim.o |
| 4 |
|
| 5 |
netdevsim-objs := \ |
| 6 |
netdev.o dev.o ethtool.o fib.o bus.o health.o hwstats.o udp_tunnels.o |
| 7 |
|
| 8 |
ifeq ($(CONFIG_BPF_SYSCALL),y) |
| 9 |
netdevsim-objs += \ |
| 10 |
bpf.o |
| 11 |
endif |
| 12 |
|
| 13 |
ifneq ($(CONFIG_XFRM_OFFLOAD),) |
| 14 |
netdevsim-objs += ipsec.o |
| 15 |
endif |
| 16 |
|
| 17 |
ifneq ($(CONFIG_PSAMPLE),) |
| 18 |
netdevsim-objs += psample.o |
| 19 |
endif |
| 20 |
|
| 21 |
ifneq ($(CONFIG_INET_PSP),) |
| 22 |
netdevsim-objs += psp.o |
| 23 |
endif |
| 24 |
|
| 25 |
ifneq ($(CONFIG_MACSEC),) |
| 26 |
netdevsim-objs += macsec.o |
| 27 |
endif |