Jakub Kicinski | 83c9e13 | 2017-12-01 15:08:58 -0800 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | |
| 3 | obj-$(CONFIG_NETDEVSIM) += netdevsim.o |
| 4 | |
| 5 | netdevsim-objs := \ |
| 6 | netdev.o \ |
Jakub Kicinski | 7c5db7e | 2018-01-23 11:22:54 -0800 | [diff] [blame] | 7 | |
| 8 | ifeq ($(CONFIG_BPF_SYSCALL),y) |
| 9 | netdevsim-objs += \ |
| 10 | bpf.o |
| 11 | endif |
David Ahern | 37923ed | 2018-03-27 18:22:00 -0700 | [diff] [blame] | 12 | |
| 13 | ifneq ($(CONFIG_NET_DEVLINK),) |
| 14 | netdevsim-objs += devlink.o fib.o |
| 15 | endif |
Shannon Nelson | 7699353 | 2018-06-26 10:07:54 -0700 | [diff] [blame] | 16 | |
| 17 | ifneq ($(CONFIG_XFRM_OFFLOAD),) |
| 18 | netdevsim-objs += ipsec.o |
| 19 | endif |