package/smack: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Yann E. MORIN 2020-04-04 14:10:28 +02:00 committed by Thomas Petazzoni
parent 94cb814511
commit 2bac81f0cb
2 changed files with 6 additions and 4 deletions

View File

@ -357,10 +357,6 @@ define LINUX_KCONFIG_FIXUP_CMDS
$(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))

View File

@ -14,4 +14,10 @@ SMACK_DEPENDENCIES = host-pkgconf
# 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))