From 8a7ccc3ff97c236f809f5b0fc067512307792570 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 19 Oct 2006 02:05:17 +0000 Subject: port more modules over to the new system git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5220 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/fs.mk | 163 ++++++++++++++++++++++++++++++++++++++++ package/kernel/modules/other.mk | 23 +++++- 2 files changed, 185 insertions(+), 1 deletion(-) create mode 100644 package/kernel/modules/fs.mk (limited to 'package/kernel') diff --git a/package/kernel/modules/fs.mk b/package/kernel/modules/fs.mk new file mode 100644 index 000000000..5299efae1 --- /dev/null +++ b/package/kernel/modules/fs.mk @@ -0,0 +1,163 @@ +FSMENU:=Filesystems + +define KernelPackage/fs-cifs + TITLE:=CIFS support + DESCRIPTION:=Kernel module for CIFS support + KCONFIG:=$(CONFIG_CIFS) + SUBMENU:=$(FSMENU) + AUTOLOAD:=$(call AutoLoad,30,cifs) + FILES:=$(MODULES_DIR)/kernel/fs/cifs/cifs.$(LINUX_KMOD_SUFFIX) +endef +$(eval $(call KernelPackage,fs-cifs)) + +define KernelPackage/fs-minix + TITLE:=Minix filesystem support + DESCRIPTION:=Kernel module for Minix filesystem support + KCONFIG:=$(CONFIG_MINIX_FS) + SUBMENU:=$(FSMENU) + AUTOLOAD:=$(call AutoLoad,30,minix) + FILES:=$(MODULES_DIR)/kernel/fs/minix/minix.$(LINUX_KMOD_SUFFIX) +endef +$(eval $(call KernelPackage,fs-minix)) + +define KernelPackage/fs-ext2 + TITLE:=EXT2 filesystem support + DESCRIPTION:=Kernel module for EXT2 filesystem support + KCONFIG:=$(CONFIG_EXT2_FS) + SUBMENU:=$(FSMENU) + AUTOLOAD:=$(call AutoLoad,30,ext2) + FILES:=$(MODULES_DIR)/kernel/fs/ext2/ext2.$(LINUX_KMOD_SUFFIX) +endef +$(eval $(call KernelPackage,fs-ext2)) + +define KernelPackage/fs-ext3 + TITLE:=EXT3 filesystem support + DESCRIPTION:=Kernel module for EXT3 filesystem support + KCONFIG:=$(CONFIG_EXT3_FS) + SUBMENU:=$(FSMENU) + AUTOLOAD:=$(call AutoLoad,30,jbd ext3) + FILES:= \ + $(MODULES_DIR)/kernel/fs/jbd/jbd.$(LINUX_KMOD_SUFFIX) \ + $(MODULES_DIR)/kernel/fs/ext3/ext3.$(LINUX_KMOD_SUFFIX) +endef +$(eval $(call KernelPackage,fs-ext3)) + +define KernelPackage/fs-hfsplus + TITLE:=HFS+ filesystem support + DESCRIPTION:=Kernel module for HFS+ filesystem support + DEPENDS:=+kmod-nls-base + KCONFIG:=$(CONFIG_HFSPLUS_FS) + SUBMENU:=$(FSMENU) + AUTOLOAD:=$(call AutoLoad,30,hfsplus) + FILES:=$(MODULES_DIR)/kernel/fs/hfsplus/hfsplus.$(LINUX_KMOD_SUFFIX) +endef +$(eval $(call KernelPackage,fs-hfsplus)) + +define KernelPackage/fs-nfs + TITLE:=NFS filesystem support + DESCRIPTION:=Kernel module for NFS support + KCONFIG:=$(CONFIG_NFS_FS) + SUBMENU:=$(FSMENU) + AUTOLOAD:=$(call AutoLoad,30,sunrpc lockd nfs) + FILES:= \ + $(MODULES_DIR)/kernel/net/sunrpc/sunrpc.$(LINUX_KMOD_SUFFIX) \ + $(MODULES_DIR)/kernel/fs/lockd/lockd.$(LINUX_KMOD_SUFFIX) \ + $(MODULES_DIR)/kernel/fs/nfs/nfs.$(LINUX_KMOD_SUFFIX) +endef +$(eval $(call KernelPackage,fs-nfs)) + +define KernelPackage/fs-vfat + TITLE:=VFAT filesystem support + DESCRIPTION:=Kernel module for VFAT filesystem support + DEPENDS:=+kmod-nls-base + KCONFIG:=$(CONFIG_VFAT_FS) + SUBMENU:=$(FSMENU) + AUTOLOAD:=$(call AutoLoad,30,fat vfat) + FILES:= \ + $(MODULES_DIR)/kernel/fs/fat/fat.$(LINUX_KMOD_SUFFIX) \ + $(MODULES_DIR)/kernel/fs/vfat/vfat.$(LINUX_KMOD_SUFFIX) +endef +$(eval $(call KernelPackage,fs-vfat)) + +define KernelPackage/fs-xfs + TITLE:=XFS filesystem support + DESCRIPTION:=Kernel module for XFS support + KCONFIG:=$(CONFIG_XFS_FS) + SUBMENU:=$(FSMENU) + AUTOLOAD:=$(call AutoLoad,30,sunrpc lockd xfs) + FILES:= \ + $(MODULES_DIR)/kernel/fs/xfs/xfs.$(LINUX_KMOD_SUFFIX) +endef +$(eval $(call KernelPackage,fs-xfs)) + + +define KernelPackage/nls-base + TITLE:=Native Language Support + DESCRIPTION:=Kernel module for Native Language Support + KCONFIG:=$(CONFIG_NLS) + SUBMENU:=$(FSMENU) + MENU:=1 + FILES:=$(MODULES_DIR)/kernel/fs/nls/nls_base.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,20,nls_base) +endef +$(eval $(call KernelPackage,nls-base)) + + +define KernelPackage/nls-cp437 + TITLE:=Codepage 437 (United States, Canada) + DESCRIPTION:=Kernel module for NLS Codepage 437 (United States, Canada) + DEPENDS:=kmod-nls-base + KCONFIG:=$(CONFIG_NLS_CODEPAGE_437) + SUBMENU:=$(FSMENU) + FILES:=$(MODULES_DIR)/kernel/fs/nls/nls_cp437.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,25,nls_cp437) +endef +$(eval $(call KernelPackage,nls-cp437)) + + +define KernelPackage/nls-cp850 + TITLE:=Codepage 850 (Europe) + DESCRIPTION:=Kernel module for NLS Codepage 850 (Europe) + DEPENDS:=kmod-nls-base + KCONFIG:=$(CONFIG_NLS_CODEPAGE_850) + SUBMENU:=$(FSMENU) + FILES:=$(MODULES_DIR)/kernel/fs/nls/nls_cp850.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,25,nls_cp850) +endef +$(eval $(call KernelPackage,nls-cp850)) + + +define KernelPackage/nls-iso8859-1 + TITLE:=ISO 8859-1 (Latin 1; Western European Languages) + DESCRIPTION:=Kernel module for ISO 8859-1 (Latin 1) + DEPENDS:=kmod-nls-base + KCONFIG:=$(CONFIG_NLS_ISO8859_1) + SUBMENU:=$(FSMENU) + FILES:=$(MODULES_DIR)/kernel/fs/nls/nls_iso8859-1.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-1) +endef +$(eval $(call KernelPackage,nls-iso8859-1)) + +define KernelPackage/nls-iso8859-15 + TITLE:=ISO 8859-15 (Latin 9; Western, with Euro symbol) + DESCRIPTION:=Kernel module for ISO 8859-15 (Latin 9) + DEPENDS:=kmod-nls-base + KCONFIG:=$(CONFIG_NLS_ISO8859_15) + SUBMENU:=$(FSMENU) + FILES:=$(MODULES_DIR)/kernel/fs/nls/nls_iso8859-15.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-15) +endef +$(eval $(call KernelPackage,nls-iso8859-15)) + +define KernelPackage/nls-utf8 + TITLE:=UTF8 + DESCRIPTION:=Kernel module for NLS UTF8 + DEPENDS:=kmod-nls-base + KCONFIG:=$(CONFIG_NLS_UTF8) + SUBMENU:=$(FSMENU) + FILES:=$(MODULES_DIR)/kernel/fs/nls/nls_utf8.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,25,nls_utf8) +endef +$(eval $(call KernelPackage,nls-utf8)) + + diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 475fcd0de..97cfddb9e 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -1,4 +1,4 @@ -# +# # Copyright (C) 2006 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. @@ -99,3 +99,24 @@ endef $(eval $(call KernelPackage,soundcore)) +define KernelPackage/loop + TITLE:=Loopback device support + DESCRIPTION:=Kernel module for loopback device support + KCONFIG:=$(CONFIG_BLK_DEV_LOOP) + SUBMENU:=$(EMENU) + AUTOLOAD:=$(call AutoLoad,30,loop) + FILES:=$(MODULES_DIR)/kernel/drivers/block/loop.$(LINUX_KMOD_SUFFIX) +endef +$(eval $(call KernelPackage,loop)) + +define KernelPackage/nbd + TITLE:=Network block device support + DESCRIPTION:=Kernel module for network block device support + KCONFIG:=$(CONFIG_BLK_DEV_NBD) + SUBMENU:=$(EMENU) + AUTOLOAD:=$(call AutoLoad,30,nbd) + FILES:=$(MODULES_DIR)/kernel/drivers/block/nbd.$(LINUX_KMOD_SUFFIX) +endef +$(eval $(call KernelPackage,nbd)) + + -- cgit v1.2.3