Jelajahi Sumber

kernel: package efivarfs module

With this, `mount -t efivarfs` is available and tools such as efitools
and efibootmgr will be usable.

Signed-off-by: Alif M. Ahmad <[email protected]>
[[email protected]: some whitespace fixes, match From: with SoB]
Alif M. Ahmad 7 tahun lalu
induk
melakukan
f5b4f5f8e3
1 mengubah file dengan 16 tambahan dan 0 penghapusan
  1. 16 0
      package/kernel/linux/modules/fs.mk

+ 16 - 0
package/kernel/linux/modules/fs.mk

@@ -142,6 +142,22 @@ endef
 $(eval $(call KernelPackage,fs-cramfs))
 
 
+define KernelPackage/fs-efivarfs
+  SUBMENU:=$(FS_MENU)
+  TITLE:=efivar filesystem support
+  KCONFIG:=CONFIG_EFIVAR_FS
+  FILES:=$(LINUX_DIR)/fs/efivarfs/efivarfs.ko
+  DEPENDS:=@(x86_64||x86)
+  AUTOLOAD:=$(call Autoload,90,efivarfs)
+endef
+
+define KernelPackage/fs-efivarfs/description
+  Kernel module to support efivarfs file system mountpoint.
+endef
+
+$(eval $(call KernelPackage,fs-efivarfs))
+
+
 define KernelPackage/fs-exportfs
   SUBMENU:=$(FS_MENU)
   TITLE:=exportfs kernel server support