$(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY)
$(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_APPARMOR)
$(call KCONFIG_ENABLE_OPT,CONFIG_DEFAULT_SECURITY_APPARMOR))
- $(if $(BR2_PACKAGE_LIBSELINUX),
- $(call KCONFIG_ENABLE_OPT,CONFIG_AUDIT)
- $(call KCONFIG_ENABLE_OPT,CONFIG_DEFAULT_SECURITY_SELINUX)
- $(call KCONFIG_ENABLE_OPT,CONFIG_INET)
- $(call KCONFIG_ENABLE_OPT,CONFIG_NET)
- $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY)
- $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_NETWORK)
- $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_SELINUX))
$(PACKAGES_LINUX_CONFIG_FIXUPS)
endef
$(HOST_LIBSELINUX_MAKE_OPTS) install-pywrap
endef
+define LIBSELINUX_LINUX_CONFIG_FIXUPS
+ $(call KCONFIG_ENABLE_OPT,CONFIG_AUDIT)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_DEFAULT_SECURITY_SELINUX)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_INET)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_NET)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_NETWORK)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_SELINUX)
+endef
+
$(eval $(generic-package))
$(eval $(host-generic-package))