| xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | |||||
| 3 | obj-$(CONFIG_NETDEVSIM) += netdevsim.o | ||||
| 4 | |||||
| 5 | netdevsim-objs := \ | ||||
| 6 | netdev.o \ | ||||
| 7 | |||||
| 8 | ifeq ($(CONFIG_BPF_SYSCALL),y) | ||||
| 9 | netdevsim-objs += \ | ||||
| 10 | bpf.o | ||||
| 11 | endif | ||||
| 12 | |||||
| 13 | ifneq ($(CONFIG_NET_DEVLINK),) | ||||
| 14 | netdevsim-objs += devlink.o fib.o | ||||
| 15 | endif | ||||
| 16 | |||||
| 17 | ifneq ($(CONFIG_XFRM_OFFLOAD),) | ||||
| 18 | netdevsim-objs += ipsec.o | ||||
| 19 | endif | ||||