fs.mk 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659
  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. FS_MENU:=Filesystems
  8. define KernelPackage/fs-9p
  9. SUBMENU:=$(FS_MENU)
  10. TITLE:=Plan 9 Resource Sharing Support
  11. DEPENDS:=+kmod-9pnet
  12. KCONFIG:=\
  13. CONFIG_9P_FS \
  14. CONFIG_9P_FS_POSIX_ACL=n \
  15. CONFIG_9P_FS_SECURITY=n \
  16. CONFIG_9P_FSCACHE=n
  17. FILES:=$(LINUX_DIR)/fs/9p/9p.ko
  18. AUTOLOAD:=$(call AutoLoad,30,9p)
  19. endef
  20. define KernelPackage/fs-9p/description
  21. Kernel module for Plan 9 Resource Sharing Support support
  22. endef
  23. $(eval $(call KernelPackage,fs-9p))
  24. define KernelPackage/fs-afs
  25. SUBMENU:=$(FS_MENU)
  26. TITLE:=Andrew FileSystem client
  27. DEFAULT:=n
  28. DEPENDS:=+kmod-rxrpc +kmod-dnsresolver +kmod-fs-fscache
  29. KCONFIG:=\
  30. CONFIG_AFS_FS=m \
  31. CONFIG_AFS_DEBUG=n \
  32. CONFIG_AFS_FSCACHE=y
  33. FILES:=$(LINUX_DIR)/fs/afs/kafs.ko
  34. AUTOLOAD:=$(call AutoLoad,30,kafs)
  35. endef
  36. define KernelPackage/fs-afs/description
  37. Kernel module for Andrew FileSystem client support
  38. endef
  39. $(eval $(call KernelPackage,fs-afs))
  40. define KernelPackage/fs-autofs4
  41. SUBMENU:=$(FS_MENU)
  42. TITLE:=AUTOFS4 filesystem support
  43. KCONFIG:= \
  44. CONFIG_AUTOFS4_FS \
  45. CONFIG_AUTOFS_FS
  46. FILES:= \
  47. $(LINUX_DIR)/fs/autofs/autofs4.ko
  48. AUTOLOAD:=$(call AutoLoad,30,autofs4)
  49. endef
  50. define KernelPackage/fs-autofs4/description
  51. Kernel module for AutoFS4 support
  52. endef
  53. $(eval $(call KernelPackage,fs-autofs4))
  54. define KernelPackage/fs-btrfs
  55. SUBMENU:=$(FS_MENU)
  56. TITLE:=BTRFS filesystem support
  57. DEPENDS:=+kmod-lib-crc32c +kmod-lib-lzo +kmod-lib-zlib-inflate +kmod-lib-zlib-deflate +kmod-lib-raid6 +kmod-lib-xor +kmod-lib-zstd
  58. KCONFIG:=\
  59. CONFIG_BTRFS_FS \
  60. CONFIG_BTRFS_FS_CHECK_INTEGRITY=n
  61. FILES:=\
  62. $(LINUX_DIR)/fs/btrfs/btrfs.ko
  63. AUTOLOAD:=$(call AutoLoad,30,btrfs,1)
  64. endef
  65. define KernelPackage/fs-btrfs/description
  66. Kernel module for BTRFS support
  67. endef
  68. $(eval $(call KernelPackage,fs-btrfs))
  69. define KernelPackage/fs-cifs
  70. SUBMENU:=$(FS_MENU)
  71. TITLE:=CIFS support
  72. KCONFIG:= \
  73. [email protected] \
  74. CONFIG_CIFS \
  75. CONFIG_CIFS_DFS_UPCALL=n \
  76. CONFIG_CIFS_UPCALL=n
  77. FILES:= \
  78. $(LINUX_DIR)/fs/smbfs_common/[email protected] \
  79. $(LINUX_DIR)/fs/smbfs_common/[email protected] \
  80. $(LINUX_DIR)/fs/cifs/cifs.ko
  81. AUTOLOAD:=$(call AutoLoad,30,cifs)
  82. $(call AddDepends/nls)
  83. DEPENDS+= \
  84. +(LINUX_5_4||LINUX_5_10):kmod-crypto-md4\
  85. +kmod-crypto-md5 \
  86. +kmod-crypto-sha256 \
  87. +kmod-crypto-sha512 \
  88. +kmod-crypto-cmac \
  89. +kmod-crypto-hmac \
  90. +(LINUX_5_4||LINUX_5_10):kmod-crypto-arc4 \
  91. +kmod-crypto-aead \
  92. +kmod-crypto-ccm \
  93. +kmod-crypto-ecb \
  94. +kmod-crypto-des \
  95. +(LINUX_5_15):kmod-asn1-decoder \
  96. +(LINUX_5_15):kmod-oid-registry \
  97. +(LINUX_5_15):kmod-dnsresolver
  98. endef
  99. define KernelPackage/fs-cifs/description
  100. Kernel module for CIFS support
  101. endef
  102. $(eval $(call KernelPackage,fs-cifs))
  103. define KernelPackage/fs-configfs
  104. SUBMENU:=$(FS_MENU)
  105. TITLE:=Configuration filesystem support
  106. KCONFIG:= \
  107. CONFIG_CONFIGFS_FS
  108. FILES:=$(LINUX_DIR)/fs/configfs/configfs.ko
  109. AUTOLOAD:=$(call AutoLoad,30,configfs)
  110. endef
  111. define KernelPackage/fs-configfs/description
  112. Kernel module for configfs support
  113. endef
  114. $(eval $(call KernelPackage,fs-configfs))
  115. define KernelPackage/fs-cramfs
  116. SUBMENU:=$(FS_MENU)
  117. TITLE:=Compressed RAM/ROM filesystem support
  118. DEPENDS:=+kmod-lib-zlib-inflate
  119. KCONFIG:= \
  120. CONFIG_CRAMFS
  121. FILES:=$(LINUX_DIR)/fs/cramfs/cramfs.ko
  122. AUTOLOAD:=$(call AutoLoad,30,cramfs)
  123. endef
  124. define KernelPackage/fs-cramfs/description
  125. Kernel module for cramfs support
  126. endef
  127. $(eval $(call KernelPackage,fs-cramfs))
  128. define KernelPackage/fs-efivarfs
  129. SUBMENU:=$(FS_MENU)
  130. TITLE:=efivar filesystem support
  131. KCONFIG:=CONFIG_EFIVAR_FS
  132. FILES:=$(LINUX_DIR)/fs/efivarfs/efivarfs.ko
  133. DEPENDS:=@(x86_64||x86)
  134. AUTOLOAD:=$(call Autoload,90,efivarfs)
  135. endef
  136. define KernelPackage/fs-efivarfs/description
  137. Kernel module to support efivarfs file system mountpoint.
  138. endef
  139. $(eval $(call KernelPackage,fs-efivarfs))
  140. define KernelPackage/fs-exfat
  141. SUBMENU:=$(FS_MENU)
  142. TITLE:=exFAT filesystem support
  143. KCONFIG:= \
  144. CONFIG_EXFAT_FS \
  145. CONFIG_EXFAT_DEFAULT_IOCHARSET="utf8"
  146. FILES:= \
  147. $(LINUX_DIR)/drivers/staging/exfat/[email protected] \
  148. $(LINUX_DIR)/fs/exfat/[email protected]
  149. AUTOLOAD:=$(call AutoLoad,30,exfat,1)
  150. DEPENDS:=+kmod-nls-base
  151. endef
  152. define KernelPackage/fs-exfat/description
  153. Kernel module for exFAT filesystem support
  154. endef
  155. $(eval $(call KernelPackage,fs-exfat))
  156. define KernelPackage/fs-exportfs
  157. SUBMENU:=$(FS_MENU)
  158. TITLE:=exportfs kernel server support
  159. KCONFIG:=CONFIG_EXPORTFS
  160. FILES=$(LINUX_DIR)/fs/exportfs/exportfs.ko
  161. AUTOLOAD:=$(call AutoLoad,20,exportfs,1)
  162. endef
  163. define KernelPackage/fs-exportfs/description
  164. Kernel module for exportfs. Needed for some other modules.
  165. endef
  166. $(eval $(call KernelPackage,fs-exportfs))
  167. define KernelPackage/fs-ext4
  168. SUBMENU:=$(FS_MENU)
  169. TITLE:=EXT4 filesystem support
  170. DEPENDS := \
  171. +kmod-lib-crc16 \
  172. +kmod-crypto-hash \
  173. +kmod-crypto-crc32c
  174. KCONFIG:= \
  175. CONFIG_EXT4_FS \
  176. CONFIG_EXT4_ENCRYPTION=n \
  177. CONFIG_JBD2
  178. FILES:= \
  179. $(LINUX_DIR)/fs/ext4/ext4.ko \
  180. $(LINUX_DIR)/fs/jbd2/jbd2.ko \
  181. $(LINUX_DIR)/fs/mbcache.ko
  182. AUTOLOAD:=$(call AutoLoad,30,mbcache jbd2 ext4,1)
  183. endef
  184. define KernelPackage/fs-ext4/description
  185. Kernel module for EXT4 filesystem support
  186. endef
  187. $(eval $(call KernelPackage,fs-ext4))
  188. define KernelPackage/fs-f2fs
  189. SUBMENU:=$(FS_MENU)
  190. TITLE:=F2FS filesystem support
  191. DEPENDS:= +kmod-crypto-hash +kmod-crypto-crc32 +kmod-nls-base
  192. KCONFIG:=CONFIG_F2FS_FS
  193. FILES:=$(LINUX_DIR)/fs/f2fs/f2fs.ko
  194. AUTOLOAD:=$(call AutoLoad,30,f2fs,1)
  195. endef
  196. define KernelPackage/fs-f2fs/description
  197. Kernel module for F2FS filesystem support
  198. endef
  199. $(eval $(call KernelPackage,fs-f2fs))
  200. define KernelPackage/fs-netfs
  201. SUBMENU:=$(FS_MENU)
  202. TITLE:=Network Filesystems support
  203. DEPENDS:=@LINUX_5_15
  204. KCONFIG:= CONFIG_NETFS_SUPPORT
  205. FILES:=$(LINUX_DIR)/fs/netfs/netfs.ko
  206. AUTOLOAD:=$(call AutoLoad,28,netfs)
  207. endef
  208. $(eval $(call KernelPackage,fs-netfs))
  209. define KernelPackage/fs-fscache
  210. SUBMENU:=$(FS_MENU)
  211. TITLE:=General filesystem local cache manager
  212. DEPENDS:=+kmod-fs-netfs
  213. KCONFIG:=\
  214. CONFIG_FSCACHE=m \
  215. CONFIG_FSCACHE_STATS=y \
  216. CONFIG_FSCACHE_HISTOGRAM=n \
  217. CONFIG_FSCACHE_DEBUG=n \
  218. CONFIG_FSCACHE_OBJECT_LIST=n \
  219. CONFIG_CACHEFILES=y \
  220. CONFIG_CACHEFILES_DEBUG=n \
  221. CONFIG_CACHEFILES_HISTOGRAM=n
  222. FILES:=$(LINUX_DIR)/fs/fscache/fscache.ko
  223. AUTOLOAD:=$(call AutoLoad,29,fscache)
  224. endef
  225. $(eval $(call KernelPackage,fs-fscache))
  226. define KernelPackage/fs-hfs
  227. SUBMENU:=$(FS_MENU)
  228. TITLE:=HFS filesystem support
  229. DEPENDS:=+kmod-cdrom
  230. KCONFIG:=CONFIG_HFS_FS
  231. FILES:=$(LINUX_DIR)/fs/hfs/hfs.ko
  232. AUTOLOAD:=$(call AutoLoad,30,hfs)
  233. $(call AddDepends/nls)
  234. endef
  235. define KernelPackage/fs-hfs/description
  236. Kernel module for HFS filesystem support
  237. endef
  238. $(eval $(call KernelPackage,fs-hfs))
  239. define KernelPackage/fs-hfsplus
  240. SUBMENU:=$(FS_MENU)
  241. TITLE:=HFS+ filesystem support
  242. DEPENDS:=+kmod-cdrom
  243. KCONFIG:=CONFIG_HFSPLUS_FS
  244. FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.ko
  245. AUTOLOAD:=$(call AutoLoad,30,hfsplus)
  246. $(call AddDepends/nls,utf8)
  247. endef
  248. define KernelPackage/fs-hfsplus/description
  249. Kernel module for HFS+ filesystem support
  250. endef
  251. $(eval $(call KernelPackage,fs-hfsplus))
  252. define KernelPackage/fs-isofs
  253. SUBMENU:=$(FS_MENU)
  254. TITLE:=ISO9660 filesystem support
  255. DEPENDS:=+kmod-lib-zlib-inflate +kmod-cdrom
  256. KCONFIG:=CONFIG_ISO9660_FS CONFIG_JOLIET=y CONFIG_ZISOFS=n
  257. FILES:=$(LINUX_DIR)/fs/isofs/isofs.ko
  258. AUTOLOAD:=$(call AutoLoad,30,isofs)
  259. $(call AddDepends/nls)
  260. endef
  261. define KernelPackage/fs-isofs/description
  262. Kernel module for ISO9660 filesystem support
  263. endef
  264. $(eval $(call KernelPackage,fs-isofs))
  265. define KernelPackage/fs-jfs
  266. SUBMENU:=$(FS_MENU)
  267. TITLE:=JFS filesystem support
  268. KCONFIG:=CONFIG_JFS_FS
  269. FILES:=$(LINUX_DIR)/fs/jfs/jfs.ko
  270. AUTOLOAD:=$(call AutoLoad,30,jfs,1)
  271. $(call AddDepends/nls)
  272. endef
  273. define KernelPackage/fs-jfs/description
  274. Kernel module for JFS support
  275. endef
  276. $(eval $(call KernelPackage,fs-jfs))
  277. define KernelPackage/fs-minix
  278. SUBMENU:=$(FS_MENU)
  279. TITLE:=Minix filesystem support
  280. KCONFIG:=CONFIG_MINIX_FS
  281. FILES:=$(LINUX_DIR)/fs/minix/minix.ko
  282. AUTOLOAD:=$(call AutoLoad,30,minix)
  283. endef
  284. define KernelPackage/fs-minix/description
  285. Kernel module for Minix filesystem support
  286. endef
  287. $(eval $(call KernelPackage,fs-minix))
  288. define KernelPackage/fs-msdos
  289. SUBMENU:=$(FS_MENU)
  290. TITLE:=MSDOS filesystem support
  291. DEPENDS:=+kmod-fs-vfat
  292. KCONFIG:=CONFIG_MSDOS_FS
  293. FILES:=$(LINUX_DIR)/fs/fat/msdos.ko
  294. AUTOLOAD:=$(call AutoLoad,40,msdos)
  295. $(call AddDepends/nls)
  296. endef
  297. define KernelPackage/fs-msdos/description
  298. Kernel module for MSDOS filesystem support
  299. endef
  300. $(eval $(call KernelPackage,fs-msdos))
  301. define KernelPackage/fs-nfs
  302. SUBMENU:=$(FS_MENU)
  303. TITLE:=NFS filesystem client support
  304. DEPENDS:=+kmod-fs-nfs-common +kmod-dnsresolver
  305. KCONFIG:= \
  306. CONFIG_NFS_FS \
  307. CONFIG_NFS_USE_LEGACY_DNS=n \
  308. CONFIG_NFS_USE_NEW_IDMAPPER=n
  309. FILES:= \
  310. $(LINUX_DIR)/fs/nfs/nfs.ko
  311. AUTOLOAD:=$(call AutoLoad,40,nfs)
  312. endef
  313. define KernelPackage/fs-nfs/description
  314. Kernel module for NFS client support
  315. endef
  316. $(eval $(call KernelPackage,fs-nfs))
  317. define KernelPackage/fs-nfs-common
  318. SUBMENU:=$(FS_MENU)
  319. TITLE:=Common NFS filesystem modules
  320. DEPENDS:=+kmod-oid-registry
  321. KCONFIG:= \
  322. CONFIG_LOCKD \
  323. CONFIG_SUNRPC \
  324. CONFIG_GRACE_PERIOD \
  325. CONFIG_NFS_V4=y \
  326. CONFIG_NFS_V4_1=y \
  327. CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org" \
  328. CONFIG_NFS_V4_1_MIGRATION=n \
  329. CONFIG_NFS_V4_2=y \
  330. CONFIG_NFS_V4_2_READ_PLUS=n
  331. FILES:= \
  332. $(LINUX_DIR)/fs/lockd/lockd.ko \
  333. $(LINUX_DIR)/net/sunrpc/sunrpc.ko \
  334. $(LINUX_DIR)/fs/nfs_common/grace.ko \
  335. $(LINUX_DIR)/fs/nfs_common/[email protected]
  336. AUTOLOAD:=$(call AutoLoad,30,grace sunrpc lockd)
  337. endef
  338. $(eval $(call KernelPackage,fs-nfs-common))
  339. define KernelPackage/fs-nfs-common-rpcsec
  340. SUBMENU:=$(FS_MENU)
  341. TITLE:=NFS Secure RPC
  342. DEPENDS:= \
  343. +kmod-fs-nfs-common \
  344. +kmod-crypto-des \
  345. +kmod-crypto-cbc \
  346. +kmod-crypto-cts \
  347. +kmod-crypto-md5 \
  348. +kmod-crypto-sha1 \
  349. +kmod-crypto-hmac \
  350. +kmod-crypto-ecb \
  351. +kmod-crypto-arc4
  352. KCONFIG:= \
  353. CONFIG_SUNRPC_GSS \
  354. CONFIG_RPCSEC_GSS_KRB5
  355. FILES:= \
  356. $(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.ko \
  357. $(LINUX_DIR)/net/sunrpc/auth_gss/rpcsec_gss_krb5.ko
  358. AUTOLOAD:=$(call AutoLoad,31,auth_rpcgss rpcsec_gss_krb5)
  359. endef
  360. define KernelPackage/fs-nfs-common-rpcsec/description
  361. Kernel modules for NFS Secure RPC
  362. endef
  363. $(eval $(call KernelPackage,fs-nfs-common-rpcsec))
  364. define KernelPackage/fs-nfs-v3
  365. SUBMENU:=$(FS_MENU)
  366. TITLE:=NFS3 filesystem client support
  367. DEPENDS:=+kmod-fs-nfs
  368. FILES:= \
  369. $(LINUX_DIR)/fs/nfs/nfsv3.ko
  370. AUTOLOAD:=$(call AutoLoad,41,nfsv3)
  371. endef
  372. define KernelPackage/fs-nfs-v3/description
  373. Kernel module for NFS v3 client support
  374. endef
  375. $(eval $(call KernelPackage,fs-nfs-v3))
  376. define KernelPackage/fs-nfs-v4
  377. SUBMENU:=$(FS_MENU)
  378. TITLE:=NFS4 filesystem client support
  379. DEPENDS:=+kmod-fs-nfs
  380. KCONFIG:= \
  381. CONFIG_NFS_V4=y
  382. FILES:= \
  383. $(LINUX_DIR)/fs/nfs/nfsv4.ko
  384. AUTOLOAD:=$(call AutoLoad,41,nfsv4)
  385. endef
  386. define KernelPackage/fs-nfs-v4/description
  387. Kernel module for NFS v4 client support
  388. endef
  389. $(eval $(call KernelPackage,fs-nfs-v4))
  390. define KernelPackage/fs-nfsd
  391. SUBMENU:=$(FS_MENU)
  392. TITLE:=NFS kernel server support
  393. DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs +kmod-fs-nfs-common-rpcsec
  394. KCONFIG:= \
  395. CONFIG_NFSD \
  396. CONFIG_NFSD_V4=y \
  397. CONFIG_NFSD_V4_SECURITY_LABEL=n \
  398. CONFIG_NFSD_BLOCKLAYOUT=n \
  399. CONFIG_NFSD_SCSILAYOUT=n \
  400. CONFIG_NFSD_FLEXFILELAYOUT=n \
  401. CONFIG_NFSD_FAULT_INJECTION=n \
  402. CONFIG_NFSD_V4_2_INTER_SSC=n
  403. FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko
  404. AUTOLOAD:=$(call AutoLoad,40,nfsd)
  405. endef
  406. define KernelPackage/fs-nfsd/description
  407. Kernel module for NFS kernel server support
  408. endef
  409. $(eval $(call KernelPackage,fs-nfsd))
  410. define KernelPackage/fs-ntfs
  411. SUBMENU:=$(FS_MENU)
  412. TITLE:=NTFS filesystem support
  413. KCONFIG:=CONFIG_NTFS_FS
  414. FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.ko
  415. AUTOLOAD:=$(call AutoLoad,30,ntfs)
  416. $(call AddDepends/nls)
  417. endef
  418. define KernelPackage/fs-ntfs/description
  419. Kernel module for NTFS filesystem support
  420. endef
  421. $(eval $(call KernelPackage,fs-ntfs))
  422. define KernelPackage/pstore
  423. SUBMENU:=$(FS_MENU)
  424. TITLE:=Pstore file system
  425. DEFAULT:=m if ALL_KMODS
  426. KCONFIG:= \
  427. CONFIG_PSTORE \
  428. CONFIG_PSTORE_COMPRESS=y \
  429. CONFIG_PSTORE_COMPRESS_DEFAULT="deflate" \
  430. CONFIG_PSTORE_DEFLATE_COMPRESS=y \
  431. CONFIG_PSTORE_DEFLATE_COMPRESS_DEFAULT=y
  432. FILES:= $(LINUX_DIR)/fs/pstore/pstore.ko
  433. AUTOLOAD:=$(call AutoLoad,30,pstore,1)
  434. endef
  435. define KernelPackage/pstore/description
  436. Kernel module for pstore filesystem support
  437. endef
  438. $(eval $(call KernelPackage,pstore))
  439. define KernelPackage/fs-reiserfs
  440. SUBMENU:=$(FS_MENU)
  441. TITLE:=ReiserFS filesystem support
  442. KCONFIG:=CONFIG_REISERFS_FS
  443. FILES:=$(LINUX_DIR)/fs/reiserfs/reiserfs.ko
  444. AUTOLOAD:=$(call AutoLoad,30,reiserfs,1)
  445. endef
  446. define KernelPackage/fs-reiserfs/description
  447. Kernel module for ReiserFS support
  448. endef
  449. $(eval $(call KernelPackage,fs-reiserfs))
  450. define KernelPackage/fs-squashfs
  451. SUBMENU:=$(FS_MENU)
  452. TITLE:=SquashFS 4.0 filesystem support
  453. KCONFIG:=CONFIG_SQUASHFS \
  454. CONFIG_SQUASHFS_XZ=y
  455. FILES:=$(LINUX_DIR)/fs/squashfs/squashfs.ko
  456. AUTOLOAD:=$(call AutoLoad,30,squashfs,1)
  457. endef
  458. define KernelPackage/fs-squashfs/description
  459. Kernel module for SquashFS 4.0 support
  460. endef
  461. $(eval $(call KernelPackage,fs-squashfs))
  462. define KernelPackage/fs-udf
  463. SUBMENU:=$(FS_MENU)
  464. TITLE:=UDF filesystem support
  465. KCONFIG:=CONFIG_UDF_FS
  466. FILES:=$(LINUX_DIR)/fs/udf/udf.ko
  467. AUTOLOAD:=$(call AutoLoad,30,udf)
  468. DEPENDS:=+kmod-lib-crc-itu-t +kmod-cdrom
  469. $(call AddDepends/nls)
  470. endef
  471. define KernelPackage/fs-udf/description
  472. Kernel module for UDF filesystem support
  473. endef
  474. $(eval $(call KernelPackage,fs-udf))
  475. define KernelPackage/fs-vfat
  476. SUBMENU:=$(FS_MENU)
  477. TITLE:=VFAT filesystem support
  478. KCONFIG:= \
  479. CONFIG_FAT_FS \
  480. CONFIG_VFAT_FS
  481. FILES:= \
  482. $(LINUX_DIR)/fs/fat/fat.ko \
  483. $(LINUX_DIR)/fs/fat/vfat.ko
  484. AUTOLOAD:=$(call AutoLoad,30,fat vfat)
  485. $(call AddDepends/nls,cp437 iso8859-1 utf8)
  486. endef
  487. define KernelPackage/fs-vfat/description
  488. Kernel module for VFAT filesystem support
  489. endef
  490. $(eval $(call KernelPackage,fs-vfat))
  491. define KernelPackage/fs-xfs
  492. SUBMENU:=$(FS_MENU)
  493. TITLE:=XFS filesystem support
  494. KCONFIG:=CONFIG_XFS_FS
  495. DEPENDS:= +kmod-fs-exportfs +kmod-lib-crc32c
  496. FILES:=$(LINUX_DIR)/fs/xfs/xfs.ko
  497. AUTOLOAD:=$(call AutoLoad,30,xfs,1)
  498. endef
  499. define KernelPackage/fs-xfs/description
  500. Kernel module for XFS support
  501. endef
  502. $(eval $(call KernelPackage,fs-xfs))
  503. define KernelPackage/fuse
  504. SUBMENU:=$(FS_MENU)
  505. TITLE:=FUSE (Filesystem in Userspace) support
  506. KCONFIG:= CONFIG_FUSE_FS
  507. FILES:=$(LINUX_DIR)/fs/fuse/fuse.ko
  508. AUTOLOAD:=$(call AutoLoad,80,fuse)
  509. endef
  510. define KernelPackage/fuse/description
  511. Kernel module for userspace filesystem support
  512. endef
  513. $(eval $(call KernelPackage,fuse))
  514. define KernelPackage/fs-ntfs3
  515. SUBMENU:=$(FS_MENU)
  516. TITLE:=Ntfs3 support
  517. KCONFIG:= CONFIG_NTFS3_FS CONFIG_NTFS3_FS_POSIX_ACL=y
  518. FILES:=$(LINUX_DIR)/fs/ntfs3/ntfs3.ko
  519. $(call AddDepends/nls)
  520. AUTOLOAD:=$(call AutoLoad,80,ntfs3)
  521. endef
  522. define KernelPackage/fuse/description
  523. Kernel module for new NTFS3 filesystem support
  524. endef
  525. $(eval $(call KernelPackage,fs-ntfs3))