fs.mk 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657
  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_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_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:= $(LINUX_DIR)/fs/exfat/exfat.ko
  147. AUTOLOAD:=$(call AutoLoad,30,exfat,1)
  148. DEPENDS:=+kmod-nls-base
  149. endef
  150. define KernelPackage/fs-exfat/description
  151. Kernel module for exFAT filesystem support
  152. endef
  153. $(eval $(call KernelPackage,fs-exfat))
  154. define KernelPackage/fs-exportfs
  155. SUBMENU:=$(FS_MENU)
  156. TITLE:=exportfs kernel server support
  157. KCONFIG:=CONFIG_EXPORTFS
  158. FILES=$(LINUX_DIR)/fs/exportfs/exportfs.ko
  159. AUTOLOAD:=$(call AutoLoad,20,exportfs,1)
  160. endef
  161. define KernelPackage/fs-exportfs/description
  162. Kernel module for exportfs. Needed for some other modules.
  163. endef
  164. $(eval $(call KernelPackage,fs-exportfs))
  165. define KernelPackage/fs-ext4
  166. SUBMENU:=$(FS_MENU)
  167. TITLE:=EXT4 filesystem support
  168. DEPENDS := \
  169. +kmod-lib-crc16 \
  170. +kmod-crypto-hash \
  171. +kmod-crypto-crc32c
  172. KCONFIG:= \
  173. CONFIG_EXT4_FS \
  174. CONFIG_EXT4_ENCRYPTION=n \
  175. CONFIG_JBD2
  176. FILES:= \
  177. $(LINUX_DIR)/fs/ext4/ext4.ko \
  178. $(LINUX_DIR)/fs/jbd2/jbd2.ko \
  179. $(LINUX_DIR)/fs/mbcache.ko
  180. AUTOLOAD:=$(call AutoLoad,30,mbcache jbd2 ext4,1)
  181. endef
  182. define KernelPackage/fs-ext4/description
  183. Kernel module for EXT4 filesystem support
  184. endef
  185. $(eval $(call KernelPackage,fs-ext4))
  186. define KernelPackage/fs-f2fs
  187. SUBMENU:=$(FS_MENU)
  188. TITLE:=F2FS filesystem support
  189. DEPENDS:= +kmod-crypto-hash +kmod-crypto-crc32 +kmod-nls-base
  190. KCONFIG:=CONFIG_F2FS_FS
  191. FILES:=$(LINUX_DIR)/fs/f2fs/f2fs.ko
  192. AUTOLOAD:=$(call AutoLoad,30,f2fs,1)
  193. endef
  194. define KernelPackage/fs-f2fs/description
  195. Kernel module for F2FS filesystem support
  196. endef
  197. $(eval $(call KernelPackage,fs-f2fs))
  198. define KernelPackage/fs-netfs
  199. SUBMENU:=$(FS_MENU)
  200. TITLE:=Network Filesystems support
  201. DEPENDS:=@LINUX_5_15
  202. KCONFIG:= CONFIG_NETFS_SUPPORT
  203. FILES:=$(LINUX_DIR)/fs/netfs/netfs.ko
  204. AUTOLOAD:=$(call AutoLoad,28,netfs)
  205. endef
  206. $(eval $(call KernelPackage,fs-netfs))
  207. define KernelPackage/fs-fscache
  208. SUBMENU:=$(FS_MENU)
  209. TITLE:=General filesystem local cache manager
  210. DEPENDS:=+kmod-fs-netfs
  211. KCONFIG:=\
  212. CONFIG_FSCACHE=m \
  213. CONFIG_FSCACHE_STATS=y \
  214. CONFIG_FSCACHE_HISTOGRAM=n \
  215. CONFIG_FSCACHE_DEBUG=n \
  216. CONFIG_FSCACHE_OBJECT_LIST=n \
  217. CONFIG_CACHEFILES=y \
  218. CONFIG_CACHEFILES_DEBUG=n \
  219. CONFIG_CACHEFILES_HISTOGRAM=n
  220. FILES:=$(LINUX_DIR)/fs/fscache/fscache.ko
  221. AUTOLOAD:=$(call AutoLoad,29,fscache)
  222. endef
  223. $(eval $(call KernelPackage,fs-fscache))
  224. define KernelPackage/fs-hfs
  225. SUBMENU:=$(FS_MENU)
  226. TITLE:=HFS filesystem support
  227. DEPENDS:=+kmod-cdrom
  228. KCONFIG:=CONFIG_HFS_FS
  229. FILES:=$(LINUX_DIR)/fs/hfs/hfs.ko
  230. AUTOLOAD:=$(call AutoLoad,30,hfs)
  231. $(call AddDepends/nls)
  232. endef
  233. define KernelPackage/fs-hfs/description
  234. Kernel module for HFS filesystem support
  235. endef
  236. $(eval $(call KernelPackage,fs-hfs))
  237. define KernelPackage/fs-hfsplus
  238. SUBMENU:=$(FS_MENU)
  239. TITLE:=HFS+ filesystem support
  240. DEPENDS:=+kmod-cdrom
  241. KCONFIG:=CONFIG_HFSPLUS_FS
  242. FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.ko
  243. AUTOLOAD:=$(call AutoLoad,30,hfsplus)
  244. $(call AddDepends/nls,utf8)
  245. endef
  246. define KernelPackage/fs-hfsplus/description
  247. Kernel module for HFS+ filesystem support
  248. endef
  249. $(eval $(call KernelPackage,fs-hfsplus))
  250. define KernelPackage/fs-isofs
  251. SUBMENU:=$(FS_MENU)
  252. TITLE:=ISO9660 filesystem support
  253. DEPENDS:=+kmod-lib-zlib-inflate +kmod-cdrom
  254. KCONFIG:=CONFIG_ISO9660_FS CONFIG_JOLIET=y CONFIG_ZISOFS=n
  255. FILES:=$(LINUX_DIR)/fs/isofs/isofs.ko
  256. AUTOLOAD:=$(call AutoLoad,30,isofs)
  257. $(call AddDepends/nls)
  258. endef
  259. define KernelPackage/fs-isofs/description
  260. Kernel module for ISO9660 filesystem support
  261. endef
  262. $(eval $(call KernelPackage,fs-isofs))
  263. define KernelPackage/fs-jfs
  264. SUBMENU:=$(FS_MENU)
  265. TITLE:=JFS filesystem support
  266. KCONFIG:=CONFIG_JFS_FS
  267. FILES:=$(LINUX_DIR)/fs/jfs/jfs.ko
  268. AUTOLOAD:=$(call AutoLoad,30,jfs,1)
  269. $(call AddDepends/nls)
  270. endef
  271. define KernelPackage/fs-jfs/description
  272. Kernel module for JFS support
  273. endef
  274. $(eval $(call KernelPackage,fs-jfs))
  275. define KernelPackage/fs-minix
  276. SUBMENU:=$(FS_MENU)
  277. TITLE:=Minix filesystem support
  278. KCONFIG:=CONFIG_MINIX_FS
  279. FILES:=$(LINUX_DIR)/fs/minix/minix.ko
  280. AUTOLOAD:=$(call AutoLoad,30,minix)
  281. endef
  282. define KernelPackage/fs-minix/description
  283. Kernel module for Minix filesystem support
  284. endef
  285. $(eval $(call KernelPackage,fs-minix))
  286. define KernelPackage/fs-msdos
  287. SUBMENU:=$(FS_MENU)
  288. TITLE:=MSDOS filesystem support
  289. DEPENDS:=+kmod-fs-vfat
  290. KCONFIG:=CONFIG_MSDOS_FS
  291. FILES:=$(LINUX_DIR)/fs/fat/msdos.ko
  292. AUTOLOAD:=$(call AutoLoad,40,msdos)
  293. $(call AddDepends/nls)
  294. endef
  295. define KernelPackage/fs-msdos/description
  296. Kernel module for MSDOS filesystem support
  297. endef
  298. $(eval $(call KernelPackage,fs-msdos))
  299. define KernelPackage/fs-nfs
  300. SUBMENU:=$(FS_MENU)
  301. TITLE:=NFS filesystem client support
  302. DEPENDS:=+kmod-fs-nfs-common +kmod-dnsresolver
  303. KCONFIG:= \
  304. CONFIG_NFS_FS \
  305. CONFIG_NFS_USE_LEGACY_DNS=n \
  306. CONFIG_NFS_USE_NEW_IDMAPPER=n
  307. FILES:= \
  308. $(LINUX_DIR)/fs/nfs/nfs.ko
  309. AUTOLOAD:=$(call AutoLoad,40,nfs)
  310. endef
  311. define KernelPackage/fs-nfs/description
  312. Kernel module for NFS client support
  313. endef
  314. $(eval $(call KernelPackage,fs-nfs))
  315. define KernelPackage/fs-nfs-common
  316. SUBMENU:=$(FS_MENU)
  317. TITLE:=Common NFS filesystem modules
  318. DEPENDS:=+kmod-oid-registry
  319. KCONFIG:= \
  320. CONFIG_LOCKD \
  321. CONFIG_SUNRPC \
  322. CONFIG_GRACE_PERIOD \
  323. CONFIG_NFS_V4=y \
  324. CONFIG_NFS_V4_1=y \
  325. CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org" \
  326. CONFIG_NFS_V4_1_MIGRATION=n \
  327. CONFIG_NFS_V4_2=y \
  328. CONFIG_NFS_V4_2_READ_PLUS=n
  329. FILES:= \
  330. $(LINUX_DIR)/fs/lockd/lockd.ko \
  331. $(LINUX_DIR)/net/sunrpc/sunrpc.ko \
  332. $(LINUX_DIR)/fs/nfs_common/grace.ko \
  333. $(LINUX_DIR)/fs/nfs_common/nfs_ssc.ko
  334. AUTOLOAD:=$(call AutoLoad,30,grace sunrpc lockd)
  335. endef
  336. $(eval $(call KernelPackage,fs-nfs-common))
  337. define KernelPackage/fs-nfs-common-rpcsec
  338. SUBMENU:=$(FS_MENU)
  339. TITLE:=NFS Secure RPC
  340. DEPENDS:= \
  341. +kmod-fs-nfs-common \
  342. +kmod-crypto-des \
  343. +kmod-crypto-cbc \
  344. +kmod-crypto-cts \
  345. +kmod-crypto-md5 \
  346. +kmod-crypto-sha1 \
  347. +kmod-crypto-hmac \
  348. +kmod-crypto-ecb \
  349. +kmod-crypto-arc4
  350. KCONFIG:= \
  351. CONFIG_SUNRPC_GSS \
  352. CONFIG_RPCSEC_GSS_KRB5
  353. FILES:= \
  354. $(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.ko \
  355. $(LINUX_DIR)/net/sunrpc/auth_gss/rpcsec_gss_krb5.ko
  356. AUTOLOAD:=$(call AutoLoad,31,auth_rpcgss rpcsec_gss_krb5)
  357. endef
  358. define KernelPackage/fs-nfs-common-rpcsec/description
  359. Kernel modules for NFS Secure RPC
  360. endef
  361. $(eval $(call KernelPackage,fs-nfs-common-rpcsec))
  362. define KernelPackage/fs-nfs-v3
  363. SUBMENU:=$(FS_MENU)
  364. TITLE:=NFS3 filesystem client support
  365. DEPENDS:=+kmod-fs-nfs
  366. FILES:= \
  367. $(LINUX_DIR)/fs/nfs/nfsv3.ko
  368. AUTOLOAD:=$(call AutoLoad,41,nfsv3)
  369. endef
  370. define KernelPackage/fs-nfs-v3/description
  371. Kernel module for NFS v3 client support
  372. endef
  373. $(eval $(call KernelPackage,fs-nfs-v3))
  374. define KernelPackage/fs-nfs-v4
  375. SUBMENU:=$(FS_MENU)
  376. TITLE:=NFS4 filesystem client support
  377. DEPENDS:=+kmod-fs-nfs
  378. KCONFIG:= \
  379. CONFIG_NFS_V4=y
  380. FILES:= \
  381. $(LINUX_DIR)/fs/nfs/nfsv4.ko
  382. AUTOLOAD:=$(call AutoLoad,41,nfsv4)
  383. endef
  384. define KernelPackage/fs-nfs-v4/description
  385. Kernel module for NFS v4 client support
  386. endef
  387. $(eval $(call KernelPackage,fs-nfs-v4))
  388. define KernelPackage/fs-nfsd
  389. SUBMENU:=$(FS_MENU)
  390. TITLE:=NFS kernel server support
  391. DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs +kmod-fs-nfs-common-rpcsec
  392. KCONFIG:= \
  393. CONFIG_NFSD \
  394. CONFIG_NFSD_V4=y \
  395. CONFIG_NFSD_V4_SECURITY_LABEL=n \
  396. CONFIG_NFSD_BLOCKLAYOUT=n \
  397. CONFIG_NFSD_SCSILAYOUT=n \
  398. CONFIG_NFSD_FLEXFILELAYOUT=n \
  399. CONFIG_NFSD_FAULT_INJECTION=n \
  400. CONFIG_NFSD_V4_2_INTER_SSC=n
  401. FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko
  402. AUTOLOAD:=$(call AutoLoad,40,nfsd)
  403. endef
  404. define KernelPackage/fs-nfsd/description
  405. Kernel module for NFS kernel server support
  406. endef
  407. $(eval $(call KernelPackage,fs-nfsd))
  408. define KernelPackage/fs-ntfs
  409. SUBMENU:=$(FS_MENU)
  410. TITLE:=NTFS filesystem support
  411. KCONFIG:=CONFIG_NTFS_FS
  412. FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.ko
  413. AUTOLOAD:=$(call AutoLoad,30,ntfs)
  414. $(call AddDepends/nls)
  415. endef
  416. define KernelPackage/fs-ntfs/description
  417. Kernel module for NTFS filesystem support
  418. endef
  419. $(eval $(call KernelPackage,fs-ntfs))
  420. define KernelPackage/pstore
  421. SUBMENU:=$(FS_MENU)
  422. TITLE:=Pstore file system
  423. DEFAULT:=m if ALL_KMODS
  424. KCONFIG:= \
  425. CONFIG_PSTORE \
  426. CONFIG_PSTORE_COMPRESS=y \
  427. CONFIG_PSTORE_COMPRESS_DEFAULT="deflate" \
  428. CONFIG_PSTORE_DEFLATE_COMPRESS=y \
  429. CONFIG_PSTORE_DEFLATE_COMPRESS_DEFAULT=y
  430. FILES:= $(LINUX_DIR)/fs/pstore/pstore.ko
  431. AUTOLOAD:=$(call AutoLoad,30,pstore,1)
  432. endef
  433. define KernelPackage/pstore/description
  434. Kernel module for pstore filesystem support
  435. endef
  436. $(eval $(call KernelPackage,pstore))
  437. define KernelPackage/fs-reiserfs
  438. SUBMENU:=$(FS_MENU)
  439. TITLE:=ReiserFS filesystem support
  440. KCONFIG:=CONFIG_REISERFS_FS
  441. FILES:=$(LINUX_DIR)/fs/reiserfs/reiserfs.ko
  442. AUTOLOAD:=$(call AutoLoad,30,reiserfs,1)
  443. endef
  444. define KernelPackage/fs-reiserfs/description
  445. Kernel module for ReiserFS support
  446. endef
  447. $(eval $(call KernelPackage,fs-reiserfs))
  448. define KernelPackage/fs-squashfs
  449. SUBMENU:=$(FS_MENU)
  450. TITLE:=SquashFS 4.0 filesystem support
  451. KCONFIG:=CONFIG_SQUASHFS \
  452. CONFIG_SQUASHFS_XZ=y
  453. FILES:=$(LINUX_DIR)/fs/squashfs/squashfs.ko
  454. AUTOLOAD:=$(call AutoLoad,30,squashfs,1)
  455. endef
  456. define KernelPackage/fs-squashfs/description
  457. Kernel module for SquashFS 4.0 support
  458. endef
  459. $(eval $(call KernelPackage,fs-squashfs))
  460. define KernelPackage/fs-udf
  461. SUBMENU:=$(FS_MENU)
  462. TITLE:=UDF filesystem support
  463. KCONFIG:=CONFIG_UDF_FS
  464. FILES:=$(LINUX_DIR)/fs/udf/udf.ko
  465. AUTOLOAD:=$(call AutoLoad,30,udf)
  466. DEPENDS:=+kmod-lib-crc-itu-t +kmod-cdrom
  467. $(call AddDepends/nls)
  468. endef
  469. define KernelPackage/fs-udf/description
  470. Kernel module for UDF filesystem support
  471. endef
  472. $(eval $(call KernelPackage,fs-udf))
  473. define KernelPackage/fs-vfat
  474. SUBMENU:=$(FS_MENU)
  475. TITLE:=VFAT filesystem support
  476. KCONFIG:= \
  477. CONFIG_FAT_FS \
  478. CONFIG_VFAT_FS
  479. FILES:= \
  480. $(LINUX_DIR)/fs/fat/fat.ko \
  481. $(LINUX_DIR)/fs/fat/vfat.ko
  482. AUTOLOAD:=$(call AutoLoad,30,fat vfat)
  483. $(call AddDepends/nls,cp437 iso8859-1 utf8)
  484. endef
  485. define KernelPackage/fs-vfat/description
  486. Kernel module for VFAT filesystem support
  487. endef
  488. $(eval $(call KernelPackage,fs-vfat))
  489. define KernelPackage/fs-xfs
  490. SUBMENU:=$(FS_MENU)
  491. TITLE:=XFS filesystem support
  492. KCONFIG:=CONFIG_XFS_FS
  493. DEPENDS:= +kmod-fs-exportfs +kmod-lib-crc32c
  494. FILES:=$(LINUX_DIR)/fs/xfs/xfs.ko
  495. AUTOLOAD:=$(call AutoLoad,30,xfs,1)
  496. endef
  497. define KernelPackage/fs-xfs/description
  498. Kernel module for XFS support
  499. endef
  500. $(eval $(call KernelPackage,fs-xfs))
  501. define KernelPackage/fuse
  502. SUBMENU:=$(FS_MENU)
  503. TITLE:=FUSE (Filesystem in Userspace) support
  504. KCONFIG:= CONFIG_FUSE_FS
  505. FILES:=$(LINUX_DIR)/fs/fuse/fuse.ko
  506. AUTOLOAD:=$(call AutoLoad,80,fuse)
  507. endef
  508. define KernelPackage/fuse/description
  509. Kernel module for userspace filesystem support
  510. endef
  511. $(eval $(call KernelPackage,fuse))
  512. define KernelPackage/fs-ntfs3
  513. SUBMENU:=$(FS_MENU)
  514. TITLE:=Ntfs3 support
  515. KCONFIG:= CONFIG_NTFS3_FS CONFIG_NTFS3_FS_POSIX_ACL=y
  516. FILES:=$(LINUX_DIR)/fs/ntfs3/ntfs3.ko
  517. $(call AddDepends/nls)
  518. AUTOLOAD:=$(call AutoLoad,80,ntfs3)
  519. endef
  520. define KernelPackage/fuse/description
  521. Kernel module for new NTFS3 filesystem support
  522. endef
  523. $(eval $(call KernelPackage,fs-ntfs3))