fs.mk 16 KB

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