$(call KCONFIG_ENABLE_OPT,CONFIG_NET))
$(if $(BR2_PACKAGE_LINUX_TOOLS_PERF),
$(call KCONFIG_ENABLE_OPT,CONFIG_PERF_EVENTS))
- $(if $(BR2_PACKAGE_WIREGUARD_LINUX_COMPAT),
- $(call KCONFIG_ENABLE_OPT,CONFIG_INET)
- $(call KCONFIG_ENABLE_OPT,CONFIG_NET)
- $(call KCONFIG_ENABLE_OPT,CONFIG_NET_FOU)
- $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO)
- $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_MANAGER))
$(if $(BR2_LINUX_KERNEL_APPENDED_DTB),
$(call KCONFIG_ENABLE_OPT,CONFIG_ARM_APPENDED_DTB))
$(if $(BR2_PACKAGE_KERNEL_MODULE_IMX_GPU_VIV),
WIREGUARD_LINUX_COMPAT_LICENSE_FILES = COPYING
WIREGUARD_LINUX_COMPAT_MODULE_SUBDIRS = src
+define WIREGUARD_LINUX_COMPAT_LINUX_CONFIG_FIXUPS
+ $(call KCONFIG_ENABLE_OPT,CONFIG_INET)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_NET)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_NET_FOU)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_MANAGER)
+endef
+
$(eval $(kernel-module))
$(eval $(generic-package))