diff mbox series

[1/4] linux: enable MICROCODE_INTEL if intel-microcode is selected

Message ID 20181104210241.20237-2-casantos@datacom.com.br
State Accepted
Commit 9ca59a6351771d3ebfe45e81a586f4e230961861
Headers show
Series update/improve intel-microcode and iucode-tool | expand

Commit Message

Carlos Santos Nov. 4, 2018, 9:02 p.m. UTC
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>
---
 linux/linux.mk | 3 +++
 1 file changed, 3 insertions(+)

Comments

Peter Korsgaard Nov. 12, 2018, 9:37 p.m. UTC | #1
>>>>> "Carlos" == Carlos Santos <casantos@datacom.com.br> writes:

 > 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>

Committed to next, thanks.
diff mbox series

Patch

diff --git a/linux/linux.mk b/linux/linux.mk
index 476ff16329..b0cdbe933d 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -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)