fs.mk 16 KB

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