$(call KCONFIG_ENABLE_OPT,CONFIG_NET))
$(if $(BR2_PACKAGE_LINUX_TOOLS_PERF),
$(call KCONFIG_ENABLE_OPT,CONFIG_PERF_EVENTS))
- $(if $(BR2_PACKAGE_SMACK),
- $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY)
- $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_SMACK)
- $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_NETWORK))
$(if $(BR2_PACKAGE_SUNXI_MALI_MAINLINE_DRIVER),
$(call KCONFIG_ENABLE_OPT,CONFIG_CMA)
$(call KCONFIG_ENABLE_OPT,CONFIG_DMA_CMA))
# Sources from GitHub, no configure script included.
SMACK_AUTORECONF = YES
+define SMAKE_LINUX_CONFIG_FIXUPS
+ $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_SMACK)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_NETWORK)
+endef
+
$(eval $(autotools-package))