Makefile 478 B

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