From: Yann E. MORIN Date: Sat, 4 Apr 2020 12:10:22 +0000 (+0200) Subject: package/audit: bear the kernel options munging X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ad42b7f6f0be57926f0def3f6363b3bab05b7861;p=buildroot.git package/audit: bear the kernel options munging Signed-off-by: Yann E. MORIN Cc: Adam Duskett Cc: Clayton Shotwell Signed-off-by: Thomas Petazzoni --- diff --git a/linux/linux.mk b/linux/linux.mk index eb13920d57..e0a69444eb 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -355,9 +355,6 @@ define LINUX_KCONFIG_FIXUP_CMDS $(call KCONFIG_ENABLE_OPT,CONFIG_INOTIFY_USER)) $(if $(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV), $(call KCONFIG_ENABLE_OPT,CONFIG_NET)) - $(if $(BR2_PACKAGE_AUDIT), - $(call KCONFIG_ENABLE_OPT,CONFIG_NET) - $(call KCONFIG_ENABLE_OPT,CONFIG_AUDIT)) $(if $(BR2_PACKAGE_INTEL_MICROCODE), $(call KCONFIG_ENABLE_OPT,CONFIG_MICROCODE) $(call KCONFIG_ENABLE_OPT,CONFIG_MICROCODE_INTEL)) diff --git a/package/audit/audit.mk b/package/audit/audit.mk index 03967ee650..652e0fcd56 100644 --- a/package/audit/audit.mk +++ b/package/audit/audit.mk @@ -54,6 +54,11 @@ define AUDIT_INSTALL_CLEANUP endef AUDIT_POST_INSTALL_TARGET_HOOKS += AUDIT_INSTALL_CLEANUP +define AUDIT_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_NET) + $(call KCONFIG_ENABLE_OPT,CONFIG_AUDIT) +endef + HOST_AUDIT_CONF_OPTS = \ --without-python \ --without-python3 \