This adds a separate kernel package for x86 cpu msr support.
MSR module is needed e.g. when updating coreboot bios on alix boards.

Signed-off-by: Roman Yeryomin <ro...@advem.lv>


Index: package/kernel/modules/other.mk
===================================================================
--- a/package/kernel/modules/other.mk   (revision 22785)
+++ b/package/kernel/modules/other.mk   (working copy)
@@ -55,6 +55,22 @@
 $(eval $(call KernelPackage,bluetooth))


+define KernelPackage/cpu-msr
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=x86 CPU MSR support
+  DEPENDS:=...@target_x86
+  KCONFIG:=CONFIG_X86_MSR
+  FILES:=$(LINUX_DIR)/arch/x86/kernel/msr.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,20,msr)
+endef
+
+define KernelPackage/cpu-msr/description
+ Kernel module for Model Specific Registers support in x86 CPUs
+endef
+
+$(eval $(call KernelPackage,cpu-msr))
+
+
 define KernelPackage/crc-ccitt
   SUBMENU:=$(OTHER_MENU)
   TITLE:=CRC-CCITT support
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to