fs.mk 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723
  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 +LINUX_6_1:kmod-fs-netfs +LINUX_6_6:kmod-fs-netfs
  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-smbfs-common
  70. SUBMENU:=$(FS_MENU)
  71. TITLE:=SMBFS common dependencies support
  72. HIDDEN:=1
  73. DEPENDS:=+LINUX_6_6:kmod-fs-netfs +LINUX_6_6:kmod-nls-ucs2-utils
  74. KCONFIG:=\
  75. [email protected] \
  76. [email protected]
  77. FILES:= \
  78. $(LINUX_DIR)/fs/smbfs_common/[email protected] \
  79. $(LINUX_DIR)/fs/smbfs_common/[email protected] \
  80. $(LINUX_DIR)/fs/smb/common/[email protected] \
  81. $(LINUX_DIR)/fs/smb/common/[email protected]
  82. endef
  83. define KernelPackage/fs-smbfs-common/description
  84. Kernel module dependency for CIFS or SMB_SERVER support
  85. endef
  86. $(eval $(call KernelPackage,fs-smbfs-common))
  87. define KernelPackage/fs-cifs
  88. SUBMENU:=$(FS_MENU)
  89. TITLE:=CIFS support
  90. KCONFIG:= \
  91. CONFIG_CIFS \
  92. CONFIG_CIFS_DFS_UPCALL=n \
  93. CONFIG_CIFS_UPCALL=n
  94. FILES:= \
  95. $(LINUX_DIR)/fs/cifs/[email protected] \
  96. $(LINUX_DIR)/fs/smb/client/[email protected]
  97. AUTOLOAD:=$(call AutoLoad,30,cifs)
  98. $(call AddDepends/nls)
  99. DEPENDS+= \
  100. +kmod-fs-smbfs-common \
  101. +kmod-crypto-md5 \
  102. +kmod-crypto-sha256 \
  103. +kmod-crypto-sha512 \
  104. +kmod-crypto-cmac \
  105. +kmod-crypto-hmac \
  106. +kmod-crypto-aead \
  107. +kmod-crypto-ccm \
  108. +kmod-crypto-ecb \
  109. +kmod-crypto-des \
  110. +kmod-asn1-decoder \
  111. +kmod-oid-registry \
  112. +kmod-dnsresolver
  113. endef
  114. define KernelPackage/fs-cifs/description
  115. Kernel module for CIFS support
  116. endef
  117. $(eval $(call KernelPackage,fs-cifs))
  118. define KernelPackage/fs-configfs
  119. SUBMENU:=$(FS_MENU)
  120. TITLE:=Configuration filesystem support
  121. KCONFIG:= \
  122. CONFIG_CONFIGFS_FS
  123. FILES:=$(LINUX_DIR)/fs/configfs/configfs.ko
  124. AUTOLOAD:=$(call AutoLoad,30,configfs)
  125. endef
  126. define KernelPackage/fs-configfs/description
  127. Kernel module for configfs support
  128. endef
  129. $(eval $(call KernelPackage,fs-configfs))
  130. define KernelPackage/fs-cramfs
  131. SUBMENU:=$(FS_MENU)
  132. TITLE:=Compressed RAM/ROM filesystem support
  133. DEPENDS:=+kmod-lib-zlib-inflate
  134. KCONFIG:= \
  135. CONFIG_CRAMFS
  136. FILES:=$(LINUX_DIR)/fs/cramfs/cramfs.ko
  137. AUTOLOAD:=$(call AutoLoad,30,cramfs)
  138. endef
  139. define KernelPackage/fs-cramfs/description
  140. Kernel module for cramfs support
  141. endef
  142. $(eval $(call KernelPackage,fs-cramfs))
  143. define KernelPackage/fs-efivarfs
  144. SUBMENU:=$(FS_MENU)
  145. TITLE:=efivar filesystem support
  146. KCONFIG:=CONFIG_EFIVAR_FS
  147. FILES:=$(LINUX_DIR)/fs/efivarfs/efivarfs.ko
  148. DEPENDS:=@(x86_64||x86)
  149. AUTOLOAD:=$(call Autoload,90,efivarfs)
  150. endef
  151. define KernelPackage/fs-efivarfs/description
  152. Kernel module to support efivarfs file system mountpoint.
  153. endef
  154. $(eval $(call KernelPackage,fs-efivarfs))
  155. define KernelPackage/fs-exfat
  156. SUBMENU:=$(FS_MENU)
  157. TITLE:=exFAT filesystem support
  158. KCONFIG:= \
  159. CONFIG_EXFAT_FS \
  160. CONFIG_EXFAT_DEFAULT_IOCHARSET="utf8"
  161. FILES:= $(LINUX_DIR)/fs/exfat/exfat.ko
  162. AUTOLOAD:=$(call AutoLoad,30,exfat,1)
  163. DEPENDS:=+kmod-nls-base
  164. endef
  165. define KernelPackage/fs-exfat/description
  166. Kernel module for exFAT filesystem support
  167. endef
  168. $(eval $(call KernelPackage,fs-exfat))
  169. define KernelPackage/fs-exportfs
  170. SUBMENU:=$(FS_MENU)
  171. TITLE:=exportfs kernel server support
  172. KCONFIG:=CONFIG_EXPORTFS
  173. FILES=$(LINUX_DIR)/fs/exportfs/exportfs.ko
  174. AUTOLOAD:=$(call AutoLoad,20,exportfs,1)
  175. endef
  176. define KernelPackage/fs-exportfs/description
  177. Kernel module for exportfs. Needed for some other modules.
  178. endef
  179. $(eval $(call KernelPackage,fs-exportfs))
  180. define KernelPackage/fs-ext4
  181. SUBMENU:=$(FS_MENU)
  182. TITLE:=EXT4 filesystem support
  183. DEPENDS := \
  184. +kmod-lib-crc16 \
  185. +kmod-crypto-hash \
  186. +kmod-crypto-crc32c
  187. KCONFIG:= \
  188. CONFIG_EXT4_FS \
  189. CONFIG_EXT4_ENCRYPTION=n \
  190. CONFIG_JBD2
  191. FILES:= \
  192. $(LINUX_DIR)/fs/ext4/ext4.ko \
  193. $(LINUX_DIR)/fs/jbd2/jbd2.ko \
  194. $(LINUX_DIR)/fs/mbcache.ko
  195. AUTOLOAD:=$(call AutoLoad,30,mbcache jbd2 ext4,1)
  196. endef
  197. define KernelPackage/fs-ext4/description
  198. Kernel module for EXT4 filesystem support
  199. endef
  200. $(eval $(call KernelPackage,fs-ext4))
  201. define KernelPackage/fs-f2fs
  202. SUBMENU:=$(FS_MENU)
  203. TITLE:=F2FS filesystem support
  204. DEPENDS:= +kmod-crypto-hash +kmod-crypto-crc32 +kmod-nls-base
  205. KCONFIG:=CONFIG_F2FS_FS
  206. FILES:=$(LINUX_DIR)/fs/f2fs/f2fs.ko
  207. AUTOLOAD:=$(call AutoLoad,30,f2fs,1)
  208. endef
  209. define KernelPackage/fs-f2fs/description
  210. Kernel module for F2FS filesystem support
  211. endef
  212. $(eval $(call KernelPackage,fs-f2fs))
  213. define KernelPackage/fs-fscache
  214. SUBMENU:=$(FS_MENU)
  215. TITLE:=General filesystem local cache manager
  216. DEPENDS:=+kmod-fs-netfs
  217. KCONFIG:=\
  218. CONFIG_FSCACHE \
  219. CONFIG_FSCACHE_STATS=y \
  220. CONFIG_FSCACHE_HISTOGRAM=n \
  221. CONFIG_FSCACHE_DEBUG=n \
  222. CONFIG_FSCACHE_OBJECT_LIST=n \
  223. CONFIG_CACHEFILES \
  224. CONFIG_CACHEFILES_DEBUG=n \
  225. CONFIG_CACHEFILES_HISTOGRAM=n \
  226. [email protected] \
  227. [email protected]
  228. FILES:= \
  229. $(LINUX_DIR)/fs/fscache/fscache.ko \
  230. $(LINUX_DIR)/fs/cachefiles/cachefiles.ko
  231. AUTOLOAD:=$(call AutoLoad,29,fscache cachefiles)
  232. endef
  233. $(eval $(call KernelPackage,fs-fscache))
  234. define KernelPackage/fs-hfs
  235. SUBMENU:=$(FS_MENU)
  236. TITLE:=HFS filesystem support
  237. DEPENDS:=+kmod-cdrom
  238. KCONFIG:=CONFIG_HFS_FS
  239. FILES:=$(LINUX_DIR)/fs/hfs/hfs.ko
  240. AUTOLOAD:=$(call AutoLoad,30,hfs)
  241. $(call AddDepends/nls)
  242. endef
  243. define KernelPackage/fs-hfs/description
  244. Kernel module for HFS filesystem support
  245. endef
  246. $(eval $(call KernelPackage,fs-hfs))
  247. define KernelPackage/fs-hfsplus
  248. SUBMENU:=$(FS_MENU)
  249. TITLE:=HFS+ filesystem support
  250. DEPENDS:=+kmod-cdrom
  251. KCONFIG:=CONFIG_HFSPLUS_FS
  252. FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.ko
  253. AUTOLOAD:=$(call AutoLoad,30,hfsplus)
  254. $(call AddDepends/nls,utf8)
  255. endef
  256. define KernelPackage/fs-hfsplus/description
  257. Kernel module for HFS+ filesystem support
  258. endef
  259. $(eval $(call KernelPackage,fs-hfsplus))
  260. define KernelPackage/fs-isofs
  261. SUBMENU:=$(FS_MENU)
  262. TITLE:=ISO9660 filesystem support
  263. DEPENDS:=+kmod-lib-zlib-inflate +kmod-cdrom
  264. KCONFIG:=CONFIG_ISO9660_FS CONFIG_JOLIET=y CONFIG_ZISOFS=n
  265. FILES:=$(LINUX_DIR)/fs/isofs/isofs.ko
  266. AUTOLOAD:=$(call AutoLoad,30,isofs)
  267. $(call AddDepends/nls)
  268. endef
  269. define KernelPackage/fs-isofs/description
  270. Kernel module for ISO9660 filesystem support
  271. endef
  272. $(eval $(call KernelPackage,fs-isofs))
  273. define KernelPackage/fs-jfs
  274. SUBMENU:=$(FS_MENU)
  275. TITLE:=JFS filesystem support
  276. KCONFIG:=CONFIG_JFS_FS
  277. FILES:=$(LINUX_DIR)/fs/jfs/jfs.ko
  278. AUTOLOAD:=$(call AutoLoad,30,jfs,1)
  279. DEPENDS:=+LINUX_6_6:kmod-nls-ucs2-utils
  280. $(call AddDepends/nls)
  281. endef
  282. define KernelPackage/fs-jfs/description
  283. Kernel module for JFS support
  284. endef
  285. $(eval $(call KernelPackage,fs-jfs))
  286. define KernelPackage/fs-ksmbd
  287. SUBMENU:=$(FS_MENU)
  288. TITLE:=SMB kernel server support
  289. DEPENDS:= \
  290. +kmod-nls-base \
  291. +kmod-nls-utf8 \
  292. +kmod-crypto-md5 \
  293. +kmod-crypto-hmac \
  294. +kmod-crypto-ecb \
  295. +kmod-crypto-des \
  296. +kmod-crypto-sha256 \
  297. +kmod-crypto-cmac \
  298. +kmod-crypto-sha512 \
  299. +kmod-crypto-aead \
  300. +kmod-crypto-ccm \
  301. +kmod-crypto-gcm \
  302. +kmod-asn1-decoder \
  303. +kmod-oid-registry \
  304. +kmod-fs-smbfs-common
  305. KCONFIG:= \
  306. CONFIG_SMB_SERVER \
  307. CONFIG_SMB_SERVER_SMBDIRECT=n \
  308. CONFIG_SMB_SERVER_CHECK_CAP_NET_ADMIN=n \
  309. CONFIG_SMB_SERVER_KERBEROS5=n
  310. FILES:= \
  311. $(LINUX_DIR)/fs/ksmbd/[email protected] \
  312. $(LINUX_DIR)/fs/smb/server/[email protected]
  313. AUTOLOAD:=$(call AutoLoad,41,ksmbd)
  314. endef
  315. define KernelPackage/fs-ksmbd/description
  316. Kernel module for SMB kernel server support
  317. endef
  318. $(eval $(call KernelPackage,fs-ksmbd))
  319. define KernelPackage/fs-minix
  320. SUBMENU:=$(FS_MENU)
  321. TITLE:=Minix filesystem support
  322. KCONFIG:=CONFIG_MINIX_FS
  323. FILES:=$(LINUX_DIR)/fs/minix/minix.ko
  324. AUTOLOAD:=$(call AutoLoad,30,minix)
  325. endef
  326. define KernelPackage/fs-minix/description
  327. Kernel module for Minix filesystem support
  328. endef
  329. $(eval $(call KernelPackage,fs-minix))
  330. define KernelPackage/fs-msdos
  331. SUBMENU:=$(FS_MENU)
  332. TITLE:=MSDOS filesystem support
  333. DEPENDS:=+kmod-fs-vfat
  334. KCONFIG:=CONFIG_MSDOS_FS
  335. FILES:=$(LINUX_DIR)/fs/fat/msdos.ko
  336. AUTOLOAD:=$(call AutoLoad,40,msdos)
  337. $(call AddDepends/nls)
  338. endef
  339. define KernelPackage/fs-msdos/description
  340. Kernel module for MSDOS filesystem support
  341. endef
  342. $(eval $(call KernelPackage,fs-msdos))
  343. define KernelPackage/fs-netfs
  344. SUBMENU:=$(FS_MENU)
  345. TITLE:=Network Filesystems support
  346. KCONFIG:= CONFIG_NETFS_SUPPORT
  347. FILES:=$(LINUX_DIR)/fs/netfs/netfs.ko
  348. AUTOLOAD:=$(call AutoLoad,28,netfs)
  349. endef
  350. $(eval $(call KernelPackage,fs-netfs))
  351. define KernelPackage/fs-nfs
  352. SUBMENU:=$(FS_MENU)
  353. TITLE:=NFS filesystem client support
  354. DEPENDS:=+kmod-fs-nfs-common +kmod-dnsresolver
  355. KCONFIG:= \
  356. CONFIG_NFS_FS \
  357. CONFIG_NFS_USE_LEGACY_DNS=n \
  358. CONFIG_NFS_USE_NEW_IDMAPPER=n
  359. FILES:= \
  360. $(LINUX_DIR)/fs/nfs/nfs.ko
  361. AUTOLOAD:=$(call AutoLoad,40,nfs)
  362. endef
  363. define KernelPackage/fs-nfs/description
  364. Kernel module for NFS client support
  365. endef
  366. $(eval $(call KernelPackage,fs-nfs))
  367. define KernelPackage/fs-nfs-common
  368. SUBMENU:=$(FS_MENU)
  369. TITLE:=Common NFS filesystem modules
  370. DEPENDS:=+kmod-oid-registry
  371. KCONFIG:= \
  372. CONFIG_LOCKD \
  373. CONFIG_SUNRPC \
  374. CONFIG_GRACE_PERIOD \
  375. CONFIG_NFS_V4=y \
  376. CONFIG_NFS_V4_1=y \
  377. CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org" \
  378. CONFIG_NFS_V4_1_MIGRATION=n \
  379. CONFIG_NFS_V4_2=y \
  380. CONFIG_NFS_V4_2_READ_PLUS=n
  381. FILES:= \
  382. $(LINUX_DIR)/fs/lockd/lockd.ko \
  383. $(LINUX_DIR)/net/sunrpc/sunrpc.ko \
  384. $(LINUX_DIR)/fs/nfs_common/grace.ko
  385. AUTOLOAD:=$(call AutoLoad,30,grace sunrpc lockd)
  386. endef
  387. $(eval $(call KernelPackage,fs-nfs-common))
  388. define KernelPackage/fs-nfs-common-rpcsec
  389. SUBMENU:=$(FS_MENU)
  390. TITLE:=NFS Secure RPC
  391. DEPENDS:= \
  392. +kmod-fs-nfs-common \
  393. +kmod-crypto-des \
  394. +kmod-crypto-cbc \
  395. +kmod-crypto-cts \
  396. +kmod-crypto-md5 \
  397. +kmod-crypto-sha1 \
  398. +kmod-crypto-hmac \
  399. +kmod-crypto-ecb \
  400. +kmod-crypto-arc4
  401. KCONFIG:= \
  402. CONFIG_SUNRPC_GSS \
  403. CONFIG_RPCSEC_GSS_KRB5
  404. FILES:= \
  405. $(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.ko \
  406. $(LINUX_DIR)/net/sunrpc/auth_gss/rpcsec_gss_krb5.ko
  407. AUTOLOAD:=$(call AutoLoad,31,auth_rpcgss rpcsec_gss_krb5)
  408. endef
  409. define KernelPackage/fs-nfs-common-rpcsec/description
  410. Kernel modules for NFS Secure RPC
  411. endef
  412. $(eval $(call KernelPackage,fs-nfs-common-rpcsec))
  413. define KernelPackage/fs-nfs-v3
  414. SUBMENU:=$(FS_MENU)
  415. TITLE:=NFS3 filesystem client support
  416. DEPENDS:=+kmod-fs-nfs
  417. FILES:= \
  418. $(LINUX_DIR)/fs/nfs/nfsv3.ko
  419. AUTOLOAD:=$(call AutoLoad,41,nfsv3)
  420. endef
  421. define KernelPackage/fs-nfs-v3/description
  422. Kernel module for NFS v3 client support
  423. endef
  424. $(eval $(call KernelPackage,fs-nfs-v3))
  425. define KernelPackage/fs-nfs-v4
  426. SUBMENU:=$(FS_MENU)
  427. TITLE:=NFS4 filesystem client support
  428. DEPENDS:=+kmod-fs-nfs
  429. KCONFIG:= \
  430. CONFIG_NFS_V4=y
  431. FILES:= \
  432. $(LINUX_DIR)/fs/nfs/nfsv4.ko
  433. AUTOLOAD:=$(call AutoLoad,41,nfsv4)
  434. endef
  435. define KernelPackage/fs-nfs-v4/description
  436. Kernel module for NFS v4 client support
  437. endef
  438. $(eval $(call KernelPackage,fs-nfs-v4))
  439. define KernelPackage/fs-nfsd
  440. SUBMENU:=$(FS_MENU)
  441. TITLE:=NFS kernel server support
  442. DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs +kmod-fs-nfs-common-rpcsec
  443. KCONFIG:= \
  444. CONFIG_NFSD \
  445. CONFIG_NFSD_V4=y \
  446. CONFIG_NFSD_V4_SECURITY_LABEL=n \
  447. CONFIG_NFSD_BLOCKLAYOUT=n \
  448. CONFIG_NFSD_SCSILAYOUT=n \
  449. CONFIG_NFSD_FLEXFILELAYOUT=n \
  450. CONFIG_NFSD_FAULT_INJECTION=n \
  451. CONFIG_NFSD_V4_2_INTER_SSC=n
  452. FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko
  453. AUTOLOAD:=$(call AutoLoad,40,nfsd)
  454. endef
  455. define KernelPackage/fs-nfsd/description
  456. Kernel module for NFS kernel server support
  457. endef
  458. $(eval $(call KernelPackage,fs-nfsd))
  459. define KernelPackage/fs-ntfs
  460. SUBMENU:=$(FS_MENU)
  461. TITLE:=NTFS filesystem read-only (old driver) support
  462. KCONFIG:=CONFIG_NTFS_FS
  463. FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.ko
  464. AUTOLOAD:=$(call AutoLoad,30,ntfs)
  465. $(call AddDepends/nls)
  466. endef
  467. define KernelPackage/fs-ntfs/description
  468. Kernel module for limited NTFS filesystem support. Support for writing
  469. is extremely limited and disabled as a result.
  470. endef
  471. $(eval $(call KernelPackage,fs-ntfs))
  472. define KernelPackage/fs-ntfs3
  473. SUBMENU:=$(FS_MENU)
  474. TITLE:=NTFS filesystem read & write (new driver) support
  475. KCONFIG:= CONFIG_NTFS3_FS CONFIG_NTFS3_FS_POSIX_ACL=y
  476. FILES:=$(LINUX_DIR)/fs/ntfs3/ntfs3.ko
  477. $(call AddDepends/nls)
  478. AUTOLOAD:=$(call AutoLoad,80,ntfs3)
  479. endef
  480. define KernelPackage/fs-ntfs3/description
  481. Kernel module for fully functional NTFS filesystem support. It allows
  482. reading as well as writing.
  483. It supports NTFS versions up to 3.1.
  484. endef
  485. $(eval $(call KernelPackage,fs-ntfs3))
  486. define KernelPackage/fs-reiserfs
  487. SUBMENU:=$(FS_MENU)
  488. TITLE:=ReiserFS filesystem support
  489. KCONFIG:=CONFIG_REISERFS_FS
  490. FILES:=$(LINUX_DIR)/fs/reiserfs/reiserfs.ko
  491. AUTOLOAD:=$(call AutoLoad,30,reiserfs,1)
  492. endef
  493. define KernelPackage/fs-reiserfs/description
  494. Kernel module for ReiserFS support
  495. endef
  496. $(eval $(call KernelPackage,fs-reiserfs))
  497. define KernelPackage/fs-squashfs
  498. SUBMENU:=$(FS_MENU)
  499. TITLE:=SquashFS 4.0 filesystem support
  500. KCONFIG:=CONFIG_SQUASHFS \
  501. CONFIG_SQUASHFS_XZ=y
  502. FILES:=$(LINUX_DIR)/fs/squashfs/squashfs.ko
  503. AUTOLOAD:=$(call AutoLoad,30,squashfs,1)
  504. endef
  505. define KernelPackage/fs-squashfs/description
  506. Kernel module for SquashFS 4.0 support
  507. endef
  508. $(eval $(call KernelPackage,fs-squashfs))
  509. define KernelPackage/fs-udf
  510. SUBMENU:=$(FS_MENU)
  511. TITLE:=UDF filesystem support
  512. KCONFIG:=CONFIG_UDF_FS
  513. FILES:=$(LINUX_DIR)/fs/udf/udf.ko
  514. AUTOLOAD:=$(call AutoLoad,30,udf)
  515. DEPENDS:=+kmod-lib-crc-itu-t +kmod-cdrom
  516. $(call AddDepends/nls)
  517. endef
  518. define KernelPackage/fs-udf/description
  519. Kernel module for UDF filesystem support
  520. endef
  521. $(eval $(call KernelPackage,fs-udf))
  522. define KernelPackage/fs-vfat
  523. SUBMENU:=$(FS_MENU)
  524. TITLE:=VFAT filesystem support
  525. KCONFIG:= \
  526. CONFIG_FAT_FS \
  527. CONFIG_VFAT_FS
  528. FILES:= \
  529. $(LINUX_DIR)/fs/fat/fat.ko \
  530. $(LINUX_DIR)/fs/fat/vfat.ko
  531. AUTOLOAD:=$(call AutoLoad,30,fat vfat,1)
  532. $(call AddDepends/nls,cp437 iso8859-1 utf8)
  533. endef
  534. define KernelPackage/fs-vfat/description
  535. Kernel module for VFAT filesystem support
  536. endef
  537. $(eval $(call KernelPackage,fs-vfat))
  538. define KernelPackage/fs-xfs
  539. SUBMENU:=$(FS_MENU)
  540. TITLE:=XFS filesystem support
  541. KCONFIG:=CONFIG_XFS_FS
  542. DEPENDS:= +kmod-fs-exportfs +kmod-lib-crc32c
  543. FILES:=$(LINUX_DIR)/fs/xfs/xfs.ko
  544. AUTOLOAD:=$(call AutoLoad,30,xfs,1)
  545. endef
  546. define KernelPackage/fs-xfs/description
  547. Kernel module for XFS support
  548. endef
  549. $(eval $(call KernelPackage,fs-xfs))
  550. define KernelPackage/fuse
  551. SUBMENU:=$(FS_MENU)
  552. TITLE:=FUSE (Filesystem in Userspace) support
  553. KCONFIG:= CONFIG_FUSE_FS
  554. FILES:=$(LINUX_DIR)/fs/fuse/fuse.ko
  555. AUTOLOAD:=$(call AutoLoad,80,fuse)
  556. endef
  557. define KernelPackage/fuse/description
  558. Kernel module for userspace filesystem support
  559. endef
  560. $(eval $(call KernelPackage,fuse))
  561. define KernelPackage/pstore
  562. SUBMENU:=$(FS_MENU)
  563. TITLE:=Pstore file system
  564. DEFAULT:=m if ALL_KMODS
  565. KCONFIG:= \
  566. CONFIG_PSTORE \
  567. CONFIG_PSTORE_COMPRESS=y \
  568. CONFIG_PSTORE_COMPRESS_DEFAULT="deflate" \
  569. CONFIG_PSTORE_DEFLATE_COMPRESS=y \
  570. CONFIG_PSTORE_DEFLATE_COMPRESS_DEFAULT=y
  571. FILES:= $(LINUX_DIR)/fs/pstore/pstore.ko
  572. AUTOLOAD:=$(call AutoLoad,30,pstore,1)
  573. DEPENDS:=+LINUX_6_6:kmod-lib-zlib-deflate +LINUX_6_6:kmod-lib-zlib-inflate
  574. endef
  575. define KernelPackage/pstore/description
  576. Kernel module for pstore filesystem support
  577. endef
  578. $(eval $(call KernelPackage,pstore))