| 1 | # |
| 2 | # Copyright (C) 2006-2011 OpenWrt.org |
| 3 | # |
| 4 | # This is free software, licensed under the GNU General Public License v2. |
| 5 | # See /LICENSE for more information. |
| 6 | # |
| 7 | |
| 8 | FS_MENU:=Filesystems |
| 9 | |
| 10 | define KernelPackage/fs-autofs4 |
| 11 | SUBMENU:=$(FS_MENU) |
| 12 | TITLE:=AUTOFS4 filesystem support |
| 13 | KCONFIG:=CONFIG_AUTOFS4_FS |
| 14 | FILES:=$(LINUX_DIR)/fs/autofs4/autofs4.ko |
| 15 | AUTOLOAD:=$(call AutoLoad,30,autofs4) |
| 16 | endef |
| 17 | |
| 18 | define KernelPackage/fs-autofs4/description |
| 19 | Kernel module for AutoFS4 support |
| 20 | endef |
| 21 | |
| 22 | $(eval $(call KernelPackage,fs-autofs4)) |
| 23 | |
| 24 | |
| 25 | define KernelPackage/fs-btrfs |
| 26 | SUBMENU:=$(FS_MENU) |
| 27 | TITLE:=BTRFS filesystem support |
| 28 | DEPENDS:=+kmod-lib-crc32c +kmod-lib-lzo +kmod-lib-zlib |
| 29 | KCONFIG:=\ |
| 30 | CONFIG_BTRFS_FS \ |
| 31 | CONFIG_BTRFS_FS_POSIX_ACL=n \ |
| 32 | CONFIG_BTRFS_FS_CHECK_INTEGRITY=n |
| 33 | FILES:=\ |
| 34 | $(LINUX_DIR)/fs/btrfs/btrfs.ko |
| 35 | AUTOLOAD:=$(call AutoLoad,30,btrfs,1) |
| 36 | endef |
| 37 | |
| 38 | define KernelPackage/fs-btrfs/description |
| 39 | Kernel module for BTRFS support |
| 40 | endef |
| 41 | |
| 42 | $(eval $(call KernelPackage,fs-btrfs)) |
| 43 | |
| 44 | |
| 45 | define KernelPackage/fs-cifs |
| 46 | SUBMENU:=$(FS_MENU) |
| 47 | TITLE:=CIFS support |
| 48 | KCONFIG:= \ |
| 49 | CONFIG_CIFS \ |
| 50 | CONFIG_CIFS_DFS_UPCALL=n \ |
| 51 | CONFIG_CIFS_UPCALL=n |
| 52 | FILES:=$(LINUX_DIR)/fs/cifs/cifs.ko |
| 53 | AUTOLOAD:=$(call AutoLoad,30,cifs) |
| 54 | $(call AddDepends/nls) |
| 55 | DEPENDS+= \ |
| 56 | +kmod-crypto-arc4 \ |
| 57 | +kmod-crypto-hmac \ |
| 58 | +kmod-crypto-md5 \ |
| 59 | +kmod-crypto-md4 \ |
| 60 | +kmod-crypto-des \ |
| 61 | +kmod-crypto-ecb |
| 62 | endef |
| 63 | |
| 64 | define KernelPackage/fs-cifs/description |
| 65 | Kernel module for CIFS support |
| 66 | endef |
| 67 | |
| 68 | $(eval $(call KernelPackage,fs-cifs)) |
| 69 | |
| 70 | |
| 71 | define KernelPackage/fs-exportfs |
| 72 | SUBMENU:=$(FS_MENU) |
| 73 | TITLE:=exportfs kernel server support |
| 74 | KCONFIG:=CONFIG_EXPORTFS |
| 75 | FILES=$(LINUX_DIR)/fs/exportfs/exportfs.ko |
| 76 | AUTOLOAD:=$(call AutoLoad,20,exportfs) |
| 77 | endef |
| 78 | |
| 79 | define KernelPackage/fs-exportfs/description |
| 80 | Kernel module for exportfs. Needed for some other modules. |
| 81 | endef |
| 82 | |
| 83 | $(eval $(call KernelPackage,fs-exportfs)) |
| 84 | |
| 85 | |
| 86 | define KernelPackage/fs-ext4 |
| 87 | SUBMENU:=$(FS_MENU) |
| 88 | TITLE:=EXT4 filesystem support |
| 89 | KCONFIG:= \ |
| 90 | CONFIG_EXT4_FS \ |
| 91 | CONFIG_JBD2 |
| 92 | FILES:= \ |
| 93 | $(LINUX_DIR)/fs/ext4/ext4.ko \ |
| 94 | $(LINUX_DIR)/fs/jbd2/jbd2.ko \ |
| 95 | $(LINUX_DIR)/fs/mbcache.ko |
| 96 | AUTOLOAD:=$(call AutoLoad,30,mbcache jbd2 ext4,1) |
| 97 | $(call AddDepends/crc16, +!LINUX_3_3:kmod-crypto-hash) |
| 98 | endef |
| 99 | |
| 100 | define KernelPackage/fs-ext4/description |
| 101 | Kernel module for EXT4 filesystem support |
| 102 | endef |
| 103 | |
| 104 | $(eval $(call KernelPackage,fs-ext4)) |
| 105 | |
| 106 | |
| 107 | define KernelPackage/fuse |
| 108 | SUBMENU:=$(FS_MENU) |
| 109 | TITLE:=FUSE (Filesystem in Userspace) support |
| 110 | KCONFIG:= CONFIG_FUSE_FS |
| 111 | FILES:=$(LINUX_DIR)/fs/fuse/fuse.ko |
| 112 | AUTOLOAD:=$(call AutoLoad,80,fuse) |
| 113 | endef |
| 114 | |
| 115 | define KernelPackage/fuse/description |
| 116 | Kernel module for userspace filesystem support |
| 117 | endef |
| 118 | |
| 119 | $(eval $(call KernelPackage,fuse)) |
| 120 | |
| 121 | |
| 122 | define KernelPackage/fs-hfs |
| 123 | SUBMENU:=$(FS_MENU) |
| 124 | TITLE:=HFS+ filesystem support |
| 125 | KCONFIG:=CONFIG_HFS_FS |
| 126 | FILES:=$(LINUX_DIR)/fs/hfs/hfs.ko |
| 127 | AUTOLOAD:=$(call AutoLoad,30,hfs) |
| 128 | $(call AddDepends/nls) |
| 129 | endef |
| 130 | |
| 131 | define KernelPackage/fs-hfs/description |
| 132 | Kernel module for HFS filesystem support |
| 133 | endef |
| 134 | |
| 135 | $(eval $(call KernelPackage,fs-hfs)) |
| 136 | |
| 137 | |
| 138 | define KernelPackage/fs-hfsplus |
| 139 | SUBMENU:=$(FS_MENU) |
| 140 | TITLE:=HFS+ filesystem support |
| 141 | KCONFIG:=CONFIG_HFSPLUS_FS |
| 142 | FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.ko |
| 143 | AUTOLOAD:=$(call AutoLoad,30,hfsplus) |
| 144 | $(call AddDepends/nls,utf8) |
| 145 | endef |
| 146 | |
| 147 | define KernelPackage/fs-hfsplus/description |
| 148 | Kernel module for HFS+ filesystem support |
| 149 | endef |
| 150 | |
| 151 | $(eval $(call KernelPackage,fs-hfsplus)) |
| 152 | |
| 153 | |
| 154 | define KernelPackage/fs-isofs |
| 155 | SUBMENU:=$(FS_MENU) |
| 156 | TITLE:=ISO9660 filesystem support |
| 157 | KCONFIG:=CONFIG_ISO9660_FS CONFIG_JOLIET=y CONFIG_ZISOFS=n |
| 158 | FILES:=$(LINUX_DIR)/fs/isofs/isofs.ko |
| 159 | AUTOLOAD:=$(call AutoLoad,30,isofs) |
| 160 | $(call AddDepends/nls) |
| 161 | endef |
| 162 | |
| 163 | define KernelPackage/fs-isofs/description |
| 164 | Kernel module for ISO9660 filesystem support |
| 165 | endef |
| 166 | |
| 167 | $(eval $(call KernelPackage,fs-isofs)) |
| 168 | |
| 169 | |
| 170 | define KernelPackage/fs-minix |
| 171 | SUBMENU:=$(FS_MENU) |
| 172 | TITLE:=Minix filesystem support |
| 173 | KCONFIG:=CONFIG_MINIX_FS |
| 174 | FILES:=$(LINUX_DIR)/fs/minix/minix.ko |
| 175 | AUTOLOAD:=$(call AutoLoad,30,minix) |
| 176 | endef |
| 177 | |
| 178 | define KernelPackage/fs-minix/description |
| 179 | Kernel module for Minix filesystem support |
| 180 | endef |
| 181 | |
| 182 | $(eval $(call KernelPackage,fs-minix)) |
| 183 | |
| 184 | |
| 185 | define KernelPackage/fs-msdos |
| 186 | SUBMENU:=$(FS_MENU) |
| 187 | TITLE:=MSDOS filesystem support |
| 188 | KCONFIG:=CONFIG_MSDOS_FS |
| 189 | FILES:=$(LINUX_DIR)/fs/fat/msdos.ko |
| 190 | AUTOLOAD:=$(call AutoLoad,40,msdos) |
| 191 | $(call AddDepends/nls) |
| 192 | endef |
| 193 | |
| 194 | define KernelPackage/fs-msdos/description |
| 195 | Kernel module for MSDOS filesystem support |
| 196 | endef |
| 197 | |
| 198 | $(eval $(call KernelPackage,fs-msdos)) |
| 199 | |
| 200 | |
| 201 | define KernelPackage/fs-nfs |
| 202 | SUBMENU:=$(FS_MENU) |
| 203 | TITLE:=NFS filesystem support |
| 204 | DEPENDS:=+kmod-fs-nfs-common |
| 205 | KCONFIG:= \ |
| 206 | CONFIG_NFS_FS \ |
| 207 | CONFIG_NFS_USE_LEGACY_DNS=n \ |
| 208 | CONFIG_NFS_USE_NEW_IDMAPPER=n |
| 209 | FILES:= \ |
| 210 | $(LINUX_DIR)/fs/nfs/nfs.ko |
| 211 | AUTOLOAD:=$(call AutoLoad,40,nfs) |
| 212 | endef |
| 213 | |
| 214 | define KernelPackage/fs-nfs/description |
| 215 | Kernel module for NFS support |
| 216 | endef |
| 217 | |
| 218 | $(eval $(call KernelPackage,fs-nfs)) |
| 219 | |
| 220 | |
| 221 | define KernelPackage/fs-nfs-common |
| 222 | SUBMENU:=$(FS_MENU) |
| 223 | TITLE:=Common NFS filesystem modules |
| 224 | KCONFIG:= \ |
| 225 | CONFIG_LOCKD \ |
| 226 | CONFIG_SUNRPC |
| 227 | FILES:= \ |
| 228 | $(LINUX_DIR)/fs/lockd/lockd.ko \ |
| 229 | $(LINUX_DIR)/net/sunrpc/sunrpc.ko |
| 230 | AUTOLOAD:=$(call AutoLoad,30,sunrpc lockd) |
| 231 | endef |
| 232 | |
| 233 | $(eval $(call KernelPackage,fs-nfs-common)) |
| 234 | |
| 235 | |
| 236 | define KernelPackage/fs-nfs-common-v4 |
| 237 | SUBMENU:=$(FS_MENU) |
| 238 | TITLE:=Common NFS V4 filesystem modules |
| 239 | KCONFIG+=\ |
| 240 | CONFIG_SUNRPC_GSS\ |
| 241 | CONFIG_NFS_V4=y\ |
| 242 | CONFIG_NFSD_V4=y |
| 243 | DEPENDS:= @BROKEN |
| 244 | FILES+=$(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.ko |
| 245 | AUTOLOAD=$(call AutoLoad,30,auth_rpcgss) |
| 246 | endef |
| 247 | |
| 248 | define KernelPackage/fs-nfs-common-v4/description |
| 249 | Kernel modules for NFS V4 & NFSD V4 kernel support |
| 250 | endef |
| 251 | |
| 252 | $(eval $(call KernelPackage,fs-nfs-common-v4)) |
| 253 | |
| 254 | |
| 255 | define KernelPackage/fs-nfsd |
| 256 | SUBMENU:=$(FS_MENU) |
| 257 | TITLE:=NFS kernel server support |
| 258 | DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs |
| 259 | KCONFIG:= \ |
| 260 | CONFIG_NFSD \ |
| 261 | CONFIG_NFSD_FAULT_INJECTION=n |
| 262 | FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko |
| 263 | AUTOLOAD:=$(call AutoLoad,40,nfsd) |
| 264 | endef |
| 265 | |
| 266 | define KernelPackage/fs-nfsd/description |
| 267 | Kernel module for NFS kernel server support |
| 268 | endef |
| 269 | |
| 270 | $(eval $(call KernelPackage,fs-nfsd)) |
| 271 | |
| 272 | |
| 273 | define KernelPackage/fs-ntfs |
| 274 | SUBMENU:=$(FS_MENU) |
| 275 | TITLE:=NTFS filesystem support |
| 276 | KCONFIG:=CONFIG_NTFS_FS |
| 277 | FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.ko |
| 278 | AUTOLOAD:=$(call AutoLoad,30,ntfs) |
| 279 | $(call AddDepends/nls) |
| 280 | endef |
| 281 | |
| 282 | define KernelPackage/fs-ntfs/description |
| 283 | Kernel module for NTFS filesystem support |
| 284 | endef |
| 285 | |
| 286 | $(eval $(call KernelPackage,fs-ntfs)) |
| 287 | |
| 288 | |
| 289 | define KernelPackage/fs-reiserfs |
| 290 | SUBMENU:=$(FS_MENU) |
| 291 | TITLE:=ReiserFS filesystem support |
| 292 | KCONFIG:=CONFIG_REISERFS_FS |
| 293 | FILES:=$(LINUX_DIR)/fs/reiserfs/reiserfs.ko |
| 294 | AUTOLOAD:=$(call AutoLoad,30,reiserfs,1) |
| 295 | endef |
| 296 | |
| 297 | define KernelPackage/fs-reiserfs/description |
| 298 | Kernel module for ReiserFS support |
| 299 | endef |
| 300 | |
| 301 | $(eval $(call KernelPackage,fs-reiserfs)) |
| 302 | |
| 303 | |
| 304 | define KernelPackage/fs-udf |
| 305 | SUBMENU:=$(FS_MENU) |
| 306 | TITLE:=UDF filesystem support |
| 307 | KCONFIG:=CONFIG_UDF_FS |
| 308 | FILES:=$(LINUX_DIR)/fs/udf/udf.ko |
| 309 | AUTOLOAD:=$(call AutoLoad,30,udf) |
| 310 | DEPENDS:=+kmod-lib-crc-itu-t |
| 311 | $(call AddDepends/nls) |
| 312 | endef |
| 313 | |
| 314 | define KernelPackage/fs-udf/description |
| 315 | Kernel module for UDF filesystem support |
| 316 | endef |
| 317 | |
| 318 | $(eval $(call KernelPackage,fs-udf)) |
| 319 | |
| 320 | |
| 321 | define KernelPackage/fs-vfat |
| 322 | SUBMENU:=$(FS_MENU) |
| 323 | TITLE:=VFAT filesystem support |
| 324 | KCONFIG:= \ |
| 325 | CONFIG_FAT_FS \ |
| 326 | CONFIG_VFAT_FS |
| 327 | FILES:= \ |
| 328 | $(LINUX_DIR)/fs/fat/fat.ko \ |
| 329 | $(LINUX_DIR)/fs/fat/vfat.ko |
| 330 | AUTOLOAD:=$(call AutoLoad,30,fat vfat) |
| 331 | $(call AddDepends/nls) |
| 332 | endef |
| 333 | |
| 334 | define KernelPackage/fs-vfat/description |
| 335 | Kernel module for VFAT filesystem support |
| 336 | endef |
| 337 | |
| 338 | $(eval $(call KernelPackage,fs-vfat)) |
| 339 | |
| 340 | |
| 341 | define KernelPackage/fs-xfs |
| 342 | SUBMENU:=$(FS_MENU) |
| 343 | TITLE:=XFS filesystem support |
| 344 | KCONFIG:=CONFIG_XFS_FS |
| 345 | DEPENDS:= +kmod-fs-exportfs @!avr32 |
| 346 | FILES:=$(LINUX_DIR)/fs/xfs/xfs.ko |
| 347 | AUTOLOAD:=$(call AutoLoad,30,xfs,1) |
| 348 | endef |
| 349 | |
| 350 | define KernelPackage/fs-xfs/description |
| 351 | Kernel module for XFS support |
| 352 | endef |
| 353 | |
| 354 | $(eval $(call KernelPackage,fs-xfs)) |
| 355 | |