linux: enable MICROCODE_INTEL if intel-microcode is selected
authorCarlos Santos <casantos@datacom.com.br>
Sun, 4 Nov 2018 21:02:38 +0000 (19:02 -0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 12 Nov 2018 21:27:32 +0000 (22:27 +0100)
We already turn on kernel features for several packages, so let's do it
for intel-microcode too, otherwise it's impossible to load the microcode
(by means of iucode-tools).

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
linux/linux.mk

index 476ff1632943cb1574afe9e00c8e4cbc778f1987..b0cdbe933d54db3d223dd0f4943380a845e23c50 100644 (file)
@@ -323,6 +323,9 @@ define LINUX_KCONFIG_FIXUP_CMDS
        $(if $(BR2_PACKAGE_AUDIT),
                $(call KCONFIG_ENABLE_OPT,CONFIG_NET,$(@D)/.config)
                $(call KCONFIG_ENABLE_OPT,CONFIG_AUDIT,$(@D)/.config))
+       $(if $(BR2_PACKAGE_INTEL_MICROCODE),
+               $(call KCONFIG_ENABLE_OPT,CONFIG_MICROCODE,$(@D)/.config)
+               $(call KCONFIG_ENABLE_OPT,CONFIG_MICROCODE_INTEL,$(@D)/.config))
        $(if $(BR2_PACKAGE_KTAP),
                $(call KCONFIG_ENABLE_OPT,CONFIG_DEBUG_FS,$(@D)/.config)
                $(call KCONFIG_ENABLE_OPT,CONFIG_ENABLE_DEFAULT_TRACERS,$(@D)/.config)