瀏覽代碼

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 年之前
父節點
當前提交
f5b4f5f8e3
共有 1 個文件被更改,包括 16 次插入0 次删除
  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