fs.mk 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722
  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
  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. KCONFIG:=\
  74. [email protected] \
  75. [email protected]
  76. FILES:= \
  77. $(LINUX_DIR)/fs/smbfs_common/[email protected] \
  78. $(LINUX_DIR)/fs/smbfs_common/[email protected] \
  79. $(LINUX_DIR)/fs/smb/common/[email protected] \
  80. $(LINUX_DIR)/fs/smb/common/[email protected]
  81. endef
  82. define KernelPackage/fs-smbfs-common/description
  83. Kernel module dependency for CIFS or SMB_SERVER support
  84. endef
  85. $(eval $(call KernelPackage,fs-smbfs-common))
  86. define KernelPackage/fs-cifs
  87. SUBMENU:=$(FS_MENU)
  88. TITLE:=CIFS support
  89. KCONFIG:= \
  90. CONFIG_CIFS \
  91. CONFIG_CIFS_DFS_UPCALL=n \
  92. CONFIG_CIFS_UPCALL=n
  93. FILES:= \
  94. $(LINUX_DIR)/fs/cifs/[email protected] \
  95. $(LINUX_DIR)/fs/smb/client/[email protected]
  96. AUTOLOAD:=$(call AutoLoad,30,cifs)
  97. $(call AddDepends/nls)
  98. DEPENDS+= \
  99. +kmod-fs-smbfs-common \
  100. +kmod-crypto-md5 \
  101. +kmod-crypto-sha256 \
  102. +kmod-crypto-sha512 \
  103. +kmod-crypto-cmac \
  104. +kmod-crypto-hmac \
  105. +kmod-crypto-aead \
  106. +kmod-crypto-ccm \
  107. +kmod-crypto-ecb \
  108. +kmod-crypto-des \
  109. +kmod-asn1-decoder \
  110. +kmod-oid-registry \
  111. +kmod-dnsresolver
  112. endef
  113. define KernelPackage/fs-cifs/description
  114. Kernel module for CIFS support
  115. endef
  116. $(eval $(call KernelPackage,fs-cifs))
  117. define KernelPackage/fs-configfs
  118. SUBMENU:=$(FS_MENU)
  119. TITLE:=Configuration filesystem support
  120. KCONFIG:= \
  121. CONFIG_CONFIGFS_FS
  122. FILES:=$(LINUX_DIR)/fs/configfs/configfs.ko
  123. AUTOLOAD:=$(call AutoLoad,30,configfs)
  124. endef
  125. define KernelPackage/fs-configfs/description
  126. Kernel module for configfs support
  127. endef
  128. $(eval $(call KernelPackage,fs-configfs))
  129. define KernelPackage/fs-cramfs
  130. SUBMENU:=$(FS_MENU)
  131. TITLE:=Compressed RAM/ROM filesystem support
  132. DEPENDS:=+kmod-lib-zlib-inflate
  133. KCONFIG:= \
  134. CONFIG_CRAMFS
  135. FILES:=$(LINUX_DIR)/fs/cramfs/cramfs.ko
  136. AUTOLOAD:=$(call AutoLoad,30,cramfs)
  137. endef
  138. define KernelPackage/fs-cramfs/description
  139. Kernel module for cramfs support
  140. endef
  141. $(eval $(call KernelPackage,fs-cramfs))
  142. define KernelPackage/fs-efivarfs
  143. SUBMENU:=$(FS_MENU)
  144. TITLE:=efivar filesystem support
  145. KCONFIG:=CONFIG_EFIVAR_FS
  146. FILES:=$(LINUX_DIR)/fs/efivarfs/efivarfs.ko
  147. DEPENDS:=@(x86_64||x86)
  148. AUTOLOAD:=$(call Autoload,90,efivarfs)
  149. endef
  150. define KernelPackage/fs-efivarfs/description
  151. Kernel module to support efivarfs file system mountpoint.
  152. endef
  153. $(eval $(call KernelPackage,fs-efivarfs))
  154. define KernelPackage/fs-exfat
  155. SUBMENU:=$(FS_MENU)
  156. TITLE:=exFAT filesystem support
  157. KCONFIG:= \
  158. CONFIG_EXFAT_FS \
  159. CONFIG_EXFAT_DEFAULT_IOCHARSET="utf8"
  160. FILES:= $(LINUX_DIR)/fs/exfat/exfat.ko
  161. AUTOLOAD:=$(call AutoLoad,30,exfat,1)
  162. DEPENDS:=+kmod-nls-base
  163. endef
  164. define KernelPackage/fs-exfat/description
  165. Kernel module for exFAT filesystem support
  166. endef
  167. $(eval $(call KernelPackage,fs-exfat))
  168. define KernelPackage/fs-exportfs
  169. SUBMENU:=$(FS_MENU)
  170. TITLE:=exportfs kernel server support
  171. KCONFIG:=CONFIG_EXPORTFS
  172. FILES=$(LINUX_DIR)/fs/exportfs/exportfs.ko
  173. AUTOLOAD:=$(call AutoLoad,20,exportfs,1)
  174. endef
  175. define KernelPackage/fs-exportfs/description
  176. Kernel module for exportfs. Needed for some other modules.
  177. endef
  178. $(eval $(call KernelPackage,fs-exportfs))
  179. define KernelPackage/fs-ext4
  180. SUBMENU:=$(FS_MENU)
  181. TITLE:=EXT4 filesystem support
  182. DEPENDS := \
  183. +kmod-lib-crc16 \
  184. +kmod-crypto-hash \
  185. +kmod-crypto-crc32c
  186. KCONFIG:= \
  187. CONFIG_EXT4_FS \
  188. CONFIG_EXT4_ENCRYPTION=n \
  189. CONFIG_JBD2
  190. FILES:= \
  191. $(LINUX_DIR)/fs/ext4/ext4.ko \
  192. $(LINUX_DIR)/fs/jbd2/jbd2.ko \
  193. $(LINUX_DIR)/fs/mbcache.ko
  194. AUTOLOAD:=$(call AutoLoad,30,mbcache jbd2 ext4,1)
  195. endef
  196. define KernelPackage/fs-ext4/description
  197. Kernel module for EXT4 filesystem support
  198. endef
  199. $(eval $(call KernelPackage,fs-ext4))
  200. define KernelPackage/fs-f2fs
  201. SUBMENU:=$(FS_MENU)
  202. TITLE:=F2FS filesystem support
  203. DEPENDS:= +kmod-crypto-hash +kmod-crypto-crc32 +kmod-nls-base
  204. KCONFIG:=CONFIG_F2FS_FS
  205. FILES:=$(LINUX_DIR)/fs/f2fs/f2fs.ko
  206. AUTOLOAD:=$(call AutoLoad,30,f2fs,1)
  207. endef
  208. define KernelPackage/fs-f2fs/description
  209. Kernel module for F2FS filesystem support
  210. endef
  211. $(eval $(call KernelPackage,fs-f2fs))
  212. define KernelPackage/fs-fscache
  213. SUBMENU:=$(FS_MENU)
  214. TITLE:=General filesystem local cache manager
  215. DEPENDS:=+kmod-fs-netfs
  216. KCONFIG:=\
  217. CONFIG_FSCACHE \
  218. CONFIG_FSCACHE_STATS=y \
  219. CONFIG_FSCACHE_HISTOGRAM=n \
  220. CONFIG_FSCACHE_DEBUG=n \
  221. CONFIG_FSCACHE_OBJECT_LIST=n \
  222. CONFIG_CACHEFILES \
  223. CONFIG_CACHEFILES_DEBUG=n \
  224. CONFIG_CACHEFILES_HISTOGRAM=n \
  225. [email protected] \
  226. [email protected]
  227. FILES:= \
  228. $(LINUX_DIR)/fs/fscache/fscache.ko \
  229. $(LINUX_DIR)/fs/cachefiles/cachefiles.ko
  230. AUTOLOAD:=$(call AutoLoad,29,fscache cachefiles)
  231. endef
  232. $(eval $(call KernelPackage,fs-fscache))
  233. define KernelPackage/fs-hfs
  234. SUBMENU:=$(FS_MENU)
  235. TITLE:=HFS filesystem support
  236. DEPENDS:=+kmod-cdrom
  237. KCONFIG:=CONFIG_HFS_FS
  238. FILES:=$(LINUX_DIR)/fs/hfs/hfs.ko
  239. AUTOLOAD:=$(call AutoLoad,30,hfs)
  240. $(call AddDepends/nls)
  241. endef
  242. define KernelPackage/fs-hfs/description
  243. Kernel module for HFS filesystem support
  244. endef
  245. $(eval $(call KernelPackage,fs-hfs))
  246. define KernelPackage/fs-hfsplus
  247. SUBMENU:=$(FS_MENU)
  248. TITLE:=HFS+ filesystem support
  249. DEPENDS:=+kmod-cdrom
  250. KCONFIG:=CONFIG_HFSPLUS_FS
  251. FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.ko
  252. AUTOLOAD:=$(call AutoLoad,30,hfsplus)
  253. $(call AddDepends/nls,utf8)
  254. endef
  255. define KernelPackage/fs-hfsplus/description
  256. Kernel module for HFS+ filesystem support
  257. endef
  258. $(eval $(call KernelPackage,fs-hfsplus))
  259. define KernelPackage/fs-isofs
  260. SUBMENU:=$(FS_MENU)
  261. TITLE:=ISO9660 filesystem support
  262. DEPENDS:=+kmod-lib-zlib-inflate +kmod-cdrom
  263. KCONFIG:=CONFIG_ISO9660_FS CONFIG_JOLIET=y CONFIG_ZISOFS=n
  264. FILES:=$(LINUX_DIR)/fs/isofs/isofs.ko
  265. AUTOLOAD:=$(call AutoLoad,30,isofs)
  266. $(call AddDepends/nls)
  267. endef
  268. define KernelPackage/fs-isofs/description
  269. Kernel module for ISO9660 filesystem support
  270. endef
  271. $(eval $(call KernelPackage,fs-isofs))
  272. define KernelPackage/fs-jfs
  273. SUBMENU:=$(FS_MENU)
  274. TITLE:=JFS filesystem support
  275. KCONFIG:=CONFIG_JFS_FS
  276. FILES:=$(LINUX_DIR)/fs/jfs/jfs.ko
  277. AUTOLOAD:=$(call AutoLoad,30,jfs,1)
  278. $(call AddDepends/nls)
  279. endef
  280. define KernelPackage/fs-jfs/description
  281. Kernel module for JFS support
  282. endef
  283. $(eval $(call KernelPackage,fs-jfs))
  284. define KernelPackage/fs-ksmbd
  285. SUBMENU:=$(FS_MENU)
  286. TITLE:=SMB kernel server support
  287. DEPENDS:= \
  288. +kmod-nls-base \
  289. +kmod-nls-utf8 \
  290. +kmod-crypto-md4 \
  291. +kmod-crypto-md5 \
  292. +kmod-crypto-hmac \
  293. +kmod-crypto-ecb \
  294. +kmod-crypto-des \
  295. +kmod-crypto-sha256 \
  296. +kmod-crypto-cmac \
  297. +kmod-crypto-sha512 \
  298. +kmod-crypto-aead \
  299. +kmod-crypto-ccm \
  300. +kmod-crypto-gcm \
  301. +kmod-asn1-decoder \
  302. +kmod-oid-registry \
  303. +kmod-fs-smbfs-common
  304. KCONFIG:= \
  305. CONFIG_SMB_SERVER \
  306. CONFIG_SMB_SERVER_SMBDIRECT=n \
  307. CONFIG_SMB_SERVER_CHECK_CAP_NET_ADMIN=n \
  308. CONFIG_SMB_SERVER_KERBEROS5=n
  309. FILES:= \
  310. $(LINUX_DIR)/fs/ksmbd/[email protected] \
  311. $(LINUX_DIR)/fs/smb/server/[email protected]
  312. AUTOLOAD:=$(call AutoLoad,41,ksmbd)
  313. endef
  314. define KernelPackage/fs-ksmbd/description
  315. Kernel module for SMB kernel server support
  316. endef
  317. $(eval $(call KernelPackage,fs-ksmbd))
  318. define KernelPackage/fs-minix
  319. SUBMENU:=$(FS_MENU)
  320. TITLE:=Minix filesystem support
  321. KCONFIG:=CONFIG_MINIX_FS
  322. FILES:=$(LINUX_DIR)/fs/minix/minix.ko
  323. AUTOLOAD:=$(call AutoLoad,30,minix)
  324. endef
  325. define KernelPackage/fs-minix/description
  326. Kernel module for Minix filesystem support
  327. endef
  328. $(eval $(call KernelPackage,fs-minix))
  329. define KernelPackage/fs-msdos
  330. SUBMENU:=$(FS_MENU)
  331. TITLE:=MSDOS filesystem support
  332. DEPENDS:=+kmod-fs-vfat
  333. KCONFIG:=CONFIG_MSDOS_FS
  334. FILES:=$(LINUX_DIR)/fs/fat/msdos.ko
  335. AUTOLOAD:=$(call AutoLoad,40,msdos)
  336. $(call AddDepends/nls)
  337. endef
  338. define KernelPackage/fs-msdos/description
  339. Kernel module for MSDOS filesystem support
  340. endef
  341. $(eval $(call KernelPackage,fs-msdos))
  342. define KernelPackage/fs-netfs
  343. SUBMENU:=$(FS_MENU)
  344. TITLE:=Network Filesystems support
  345. KCONFIG:= CONFIG_NETFS_SUPPORT
  346. FILES:=$(LINUX_DIR)/fs/netfs/netfs.ko
  347. AUTOLOAD:=$(call AutoLoad,28,netfs)
  348. endef
  349. $(eval $(call KernelPackage,fs-netfs))
  350. define KernelPackage/fs-nfs
  351. SUBMENU:=$(FS_MENU)
  352. TITLE:=NFS filesystem client support
  353. DEPENDS:=+kmod-fs-nfs-common +kmod-dnsresolver
  354. KCONFIG:= \
  355. CONFIG_NFS_FS \
  356. CONFIG_NFS_USE_LEGACY_DNS=n \
  357. CONFIG_NFS_USE_NEW_IDMAPPER=n
  358. FILES:= \
  359. $(LINUX_DIR)/fs/nfs/nfs.ko
  360. AUTOLOAD:=$(call AutoLoad,40,nfs)
  361. endef
  362. define KernelPackage/fs-nfs/description
  363. Kernel module for NFS client support
  364. endef
  365. $(eval $(call KernelPackage,fs-nfs))
  366. define KernelPackage/fs-nfs-common
  367. SUBMENU:=$(FS_MENU)
  368. TITLE:=Common NFS filesystem modules
  369. DEPENDS:=+kmod-oid-registry
  370. KCONFIG:= \
  371. CONFIG_LOCKD \
  372. CONFIG_SUNRPC \
  373. CONFIG_GRACE_PERIOD \
  374. CONFIG_NFS_V4=y \
  375. CONFIG_NFS_V4_1=y \
  376. CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org" \
  377. CONFIG_NFS_V4_1_MIGRATION=n \
  378. CONFIG_NFS_V4_2=y \
  379. CONFIG_NFS_V4_2_READ_PLUS=n
  380. FILES:= \
  381. $(LINUX_DIR)/fs/lockd/lockd.ko \
  382. $(LINUX_DIR)/net/sunrpc/sunrpc.ko \
  383. $(LINUX_DIR)/fs/nfs_common/grace.ko \
  384. $(LINUX_DIR)/fs/nfs_common/nfs_ssc.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. endef
  574. define KernelPackage/pstore/description
  575. Kernel module for pstore filesystem support
  576. endef
  577. $(eval $(call KernelPackage,pstore))