fs.mk 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715
  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:=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. [email protected] \
  221. [email protected]
  222. FILES:= \
  223. $(LINUX_DIR)/fs/fscache/fscache.ko \
  224. $(LINUX_DIR)/fs/cachefiles/cachefiles.ko
  225. AUTOLOAD:=$(call AutoLoad,29,fscache cachefiles)
  226. endef
  227. $(eval $(call KernelPackage,fs-fscache))
  228. define KernelPackage/fs-hfs
  229. SUBMENU:=$(FS_MENU)
  230. TITLE:=HFS filesystem support
  231. DEPENDS:=+kmod-cdrom
  232. KCONFIG:=CONFIG_HFS_FS
  233. FILES:=$(LINUX_DIR)/fs/hfs/hfs.ko
  234. AUTOLOAD:=$(call AutoLoad,30,hfs)
  235. $(call AddDepends/nls)
  236. endef
  237. define KernelPackage/fs-hfs/description
  238. Kernel module for HFS filesystem support
  239. endef
  240. $(eval $(call KernelPackage,fs-hfs))
  241. define KernelPackage/fs-hfsplus
  242. SUBMENU:=$(FS_MENU)
  243. TITLE:=HFS+ filesystem support
  244. DEPENDS:=+kmod-cdrom
  245. KCONFIG:=CONFIG_HFSPLUS_FS
  246. FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.ko
  247. AUTOLOAD:=$(call AutoLoad,30,hfsplus)
  248. $(call AddDepends/nls,utf8)
  249. endef
  250. define KernelPackage/fs-hfsplus/description
  251. Kernel module for HFS+ filesystem support
  252. endef
  253. $(eval $(call KernelPackage,fs-hfsplus))
  254. define KernelPackage/fs-isofs
  255. SUBMENU:=$(FS_MENU)
  256. TITLE:=ISO9660 filesystem support
  257. DEPENDS:=+kmod-lib-zlib-inflate +kmod-cdrom
  258. KCONFIG:=CONFIG_ISO9660_FS CONFIG_JOLIET=y CONFIG_ZISOFS=n
  259. FILES:=$(LINUX_DIR)/fs/isofs/isofs.ko
  260. AUTOLOAD:=$(call AutoLoad,30,isofs)
  261. $(call AddDepends/nls)
  262. endef
  263. define KernelPackage/fs-isofs/description
  264. Kernel module for ISO9660 filesystem support
  265. endef
  266. $(eval $(call KernelPackage,fs-isofs))
  267. define KernelPackage/fs-jfs
  268. SUBMENU:=$(FS_MENU)
  269. TITLE:=JFS filesystem support
  270. KCONFIG:=CONFIG_JFS_FS
  271. FILES:=$(LINUX_DIR)/fs/jfs/jfs.ko
  272. AUTOLOAD:=$(call AutoLoad,30,jfs,1)
  273. $(call AddDepends/nls)
  274. endef
  275. define KernelPackage/fs-jfs/description
  276. Kernel module for JFS support
  277. endef
  278. $(eval $(call KernelPackage,fs-jfs))
  279. define KernelPackage/fs-ksmbd
  280. SUBMENU:=$(FS_MENU)
  281. TITLE:=SMB kernel server support
  282. DEPENDS:= \
  283. +kmod-nls-base \
  284. +kmod-nls-utf8 \
  285. +kmod-crypto-md4 \
  286. +kmod-crypto-md5 \
  287. +kmod-crypto-hmac \
  288. +kmod-crypto-ecb \
  289. +kmod-crypto-des \
  290. +kmod-crypto-sha256 \
  291. +kmod-crypto-cmac \
  292. +kmod-crypto-sha512 \
  293. +kmod-crypto-aead \
  294. +kmod-crypto-ccm \
  295. +kmod-crypto-gcm \
  296. +kmod-asn1-decoder \
  297. +kmod-oid-registry \
  298. +kmod-fs-smbfs-common
  299. KCONFIG:= \
  300. CONFIG_SMB_SERVER \
  301. CONFIG_SMB_SERVER_SMBDIRECT=n \
  302. CONFIG_SMB_SERVER_CHECK_CAP_NET_ADMIN=n \
  303. CONFIG_SMB_SERVER_KERBEROS5=n
  304. FILES:=$(LINUX_DIR)/fs/ksmbd/ksmbd.ko
  305. AUTOLOAD:=$(call AutoLoad,41,ksmbd)
  306. endef
  307. define KernelPackage/fs-ksmbd/description
  308. Kernel module for SMB kernel server support
  309. endef
  310. $(eval $(call KernelPackage,fs-ksmbd))
  311. define KernelPackage/fs-minix
  312. SUBMENU:=$(FS_MENU)
  313. TITLE:=Minix filesystem support
  314. KCONFIG:=CONFIG_MINIX_FS
  315. FILES:=$(LINUX_DIR)/fs/minix/minix.ko
  316. AUTOLOAD:=$(call AutoLoad,30,minix)
  317. endef
  318. define KernelPackage/fs-minix/description
  319. Kernel module for Minix filesystem support
  320. endef
  321. $(eval $(call KernelPackage,fs-minix))
  322. define KernelPackage/fs-msdos
  323. SUBMENU:=$(FS_MENU)
  324. TITLE:=MSDOS filesystem support
  325. DEPENDS:=+kmod-fs-vfat
  326. KCONFIG:=CONFIG_MSDOS_FS
  327. FILES:=$(LINUX_DIR)/fs/fat/msdos.ko
  328. AUTOLOAD:=$(call AutoLoad,40,msdos)
  329. $(call AddDepends/nls)
  330. endef
  331. define KernelPackage/fs-msdos/description
  332. Kernel module for MSDOS filesystem support
  333. endef
  334. $(eval $(call KernelPackage,fs-msdos))
  335. define KernelPackage/fs-netfs
  336. SUBMENU:=$(FS_MENU)
  337. TITLE:=Network Filesystems support
  338. KCONFIG:= CONFIG_NETFS_SUPPORT
  339. FILES:=$(LINUX_DIR)/fs/netfs/netfs.ko
  340. AUTOLOAD:=$(call AutoLoad,28,netfs)
  341. endef
  342. $(eval $(call KernelPackage,fs-netfs))
  343. define KernelPackage/fs-nfs
  344. SUBMENU:=$(FS_MENU)
  345. TITLE:=NFS filesystem client support
  346. DEPENDS:=+kmod-fs-nfs-common +kmod-dnsresolver
  347. KCONFIG:= \
  348. CONFIG_NFS_FS \
  349. CONFIG_NFS_USE_LEGACY_DNS=n \
  350. CONFIG_NFS_USE_NEW_IDMAPPER=n
  351. FILES:= \
  352. $(LINUX_DIR)/fs/nfs/nfs.ko
  353. AUTOLOAD:=$(call AutoLoad,40,nfs)
  354. endef
  355. define KernelPackage/fs-nfs/description
  356. Kernel module for NFS client support
  357. endef
  358. $(eval $(call KernelPackage,fs-nfs))
  359. define KernelPackage/fs-nfs-common
  360. SUBMENU:=$(FS_MENU)
  361. TITLE:=Common NFS filesystem modules
  362. DEPENDS:=+kmod-oid-registry
  363. KCONFIG:= \
  364. CONFIG_LOCKD \
  365. CONFIG_SUNRPC \
  366. CONFIG_GRACE_PERIOD \
  367. CONFIG_NFS_V4=y \
  368. CONFIG_NFS_V4_1=y \
  369. CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org" \
  370. CONFIG_NFS_V4_1_MIGRATION=n \
  371. CONFIG_NFS_V4_2=y \
  372. CONFIG_NFS_V4_2_READ_PLUS=n
  373. FILES:= \
  374. $(LINUX_DIR)/fs/lockd/lockd.ko \
  375. $(LINUX_DIR)/net/sunrpc/sunrpc.ko \
  376. $(LINUX_DIR)/fs/nfs_common/grace.ko \
  377. $(LINUX_DIR)/fs/nfs_common/nfs_ssc.ko
  378. AUTOLOAD:=$(call AutoLoad,30,grace sunrpc lockd)
  379. endef
  380. $(eval $(call KernelPackage,fs-nfs-common))
  381. define KernelPackage/fs-nfs-common-rpcsec
  382. SUBMENU:=$(FS_MENU)
  383. TITLE:=NFS Secure RPC
  384. DEPENDS:= \
  385. +kmod-fs-nfs-common \
  386. +kmod-crypto-des \
  387. +kmod-crypto-cbc \
  388. +kmod-crypto-cts \
  389. +kmod-crypto-md5 \
  390. +kmod-crypto-sha1 \
  391. +kmod-crypto-hmac \
  392. +kmod-crypto-ecb \
  393. +kmod-crypto-arc4
  394. KCONFIG:= \
  395. CONFIG_SUNRPC_GSS \
  396. CONFIG_RPCSEC_GSS_KRB5
  397. FILES:= \
  398. $(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.ko \
  399. $(LINUX_DIR)/net/sunrpc/auth_gss/rpcsec_gss_krb5.ko
  400. AUTOLOAD:=$(call AutoLoad,31,auth_rpcgss rpcsec_gss_krb5)
  401. endef
  402. define KernelPackage/fs-nfs-common-rpcsec/description
  403. Kernel modules for NFS Secure RPC
  404. endef
  405. $(eval $(call KernelPackage,fs-nfs-common-rpcsec))
  406. define KernelPackage/fs-nfs-v3
  407. SUBMENU:=$(FS_MENU)
  408. TITLE:=NFS3 filesystem client support
  409. DEPENDS:=+kmod-fs-nfs
  410. FILES:= \
  411. $(LINUX_DIR)/fs/nfs/nfsv3.ko
  412. AUTOLOAD:=$(call AutoLoad,41,nfsv3)
  413. endef
  414. define KernelPackage/fs-nfs-v3/description
  415. Kernel module for NFS v3 client support
  416. endef
  417. $(eval $(call KernelPackage,fs-nfs-v3))
  418. define KernelPackage/fs-nfs-v4
  419. SUBMENU:=$(FS_MENU)
  420. TITLE:=NFS4 filesystem client support
  421. DEPENDS:=+kmod-fs-nfs
  422. KCONFIG:= \
  423. CONFIG_NFS_V4=y
  424. FILES:= \
  425. $(LINUX_DIR)/fs/nfs/nfsv4.ko
  426. AUTOLOAD:=$(call AutoLoad,41,nfsv4)
  427. endef
  428. define KernelPackage/fs-nfs-v4/description
  429. Kernel module for NFS v4 client support
  430. endef
  431. $(eval $(call KernelPackage,fs-nfs-v4))
  432. define KernelPackage/fs-nfsd
  433. SUBMENU:=$(FS_MENU)
  434. TITLE:=NFS kernel server support
  435. DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs +kmod-fs-nfs-common-rpcsec
  436. KCONFIG:= \
  437. CONFIG_NFSD \
  438. CONFIG_NFSD_V4=y \
  439. CONFIG_NFSD_V4_SECURITY_LABEL=n \
  440. CONFIG_NFSD_BLOCKLAYOUT=n \
  441. CONFIG_NFSD_SCSILAYOUT=n \
  442. CONFIG_NFSD_FLEXFILELAYOUT=n \
  443. CONFIG_NFSD_FAULT_INJECTION=n \
  444. CONFIG_NFSD_V4_2_INTER_SSC=n
  445. FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko
  446. AUTOLOAD:=$(call AutoLoad,40,nfsd)
  447. endef
  448. define KernelPackage/fs-nfsd/description
  449. Kernel module for NFS kernel server support
  450. endef
  451. $(eval $(call KernelPackage,fs-nfsd))
  452. define KernelPackage/fs-ntfs
  453. SUBMENU:=$(FS_MENU)
  454. TITLE:=NTFS filesystem read-only (old driver) support
  455. KCONFIG:=CONFIG_NTFS_FS
  456. FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.ko
  457. AUTOLOAD:=$(call AutoLoad,30,ntfs)
  458. $(call AddDepends/nls)
  459. endef
  460. define KernelPackage/fs-ntfs/description
  461. Kernel module for limited NTFS filesystem support. Support for writing
  462. is extremely limited and disabled as a result.
  463. endef
  464. $(eval $(call KernelPackage,fs-ntfs))
  465. define KernelPackage/fs-ntfs3
  466. SUBMENU:=$(FS_MENU)
  467. TITLE:=NTFS filesystem read & write (new driver) support
  468. KCONFIG:= CONFIG_NTFS3_FS CONFIG_NTFS3_FS_POSIX_ACL=y
  469. FILES:=$(LINUX_DIR)/fs/ntfs3/ntfs3.ko
  470. $(call AddDepends/nls)
  471. AUTOLOAD:=$(call AutoLoad,80,ntfs3)
  472. endef
  473. define KernelPackage/fs-ntfs3/description
  474. Kernel module for fully functional NTFS filesystem support. It allows
  475. reading as well as writing.
  476. It supports NTFS versions up to 3.1.
  477. endef
  478. $(eval $(call KernelPackage,fs-ntfs3))
  479. define KernelPackage/fs-reiserfs
  480. SUBMENU:=$(FS_MENU)
  481. TITLE:=ReiserFS filesystem support
  482. KCONFIG:=CONFIG_REISERFS_FS
  483. FILES:=$(LINUX_DIR)/fs/reiserfs/reiserfs.ko
  484. AUTOLOAD:=$(call AutoLoad,30,reiserfs,1)
  485. endef
  486. define KernelPackage/fs-reiserfs/description
  487. Kernel module for ReiserFS support
  488. endef
  489. $(eval $(call KernelPackage,fs-reiserfs))
  490. define KernelPackage/fs-squashfs
  491. SUBMENU:=$(FS_MENU)
  492. TITLE:=SquashFS 4.0 filesystem support
  493. KCONFIG:=CONFIG_SQUASHFS \
  494. CONFIG_SQUASHFS_XZ=y
  495. FILES:=$(LINUX_DIR)/fs/squashfs/squashfs.ko
  496. AUTOLOAD:=$(call AutoLoad,30,squashfs,1)
  497. endef
  498. define KernelPackage/fs-squashfs/description
  499. Kernel module for SquashFS 4.0 support
  500. endef
  501. $(eval $(call KernelPackage,fs-squashfs))
  502. define KernelPackage/fs-udf
  503. SUBMENU:=$(FS_MENU)
  504. TITLE:=UDF filesystem support
  505. KCONFIG:=CONFIG_UDF_FS
  506. FILES:=$(LINUX_DIR)/fs/udf/udf.ko
  507. AUTOLOAD:=$(call AutoLoad,30,udf)
  508. DEPENDS:=+kmod-lib-crc-itu-t +kmod-cdrom
  509. $(call AddDepends/nls)
  510. endef
  511. define KernelPackage/fs-udf/description
  512. Kernel module for UDF filesystem support
  513. endef
  514. $(eval $(call KernelPackage,fs-udf))
  515. define KernelPackage/fs-vfat
  516. SUBMENU:=$(FS_MENU)
  517. TITLE:=VFAT filesystem support
  518. KCONFIG:= \
  519. CONFIG_FAT_FS \
  520. CONFIG_VFAT_FS
  521. FILES:= \
  522. $(LINUX_DIR)/fs/fat/fat.ko \
  523. $(LINUX_DIR)/fs/fat/vfat.ko
  524. AUTOLOAD:=$(call AutoLoad,30,fat vfat,1)
  525. $(call AddDepends/nls,cp437 iso8859-1 utf8)
  526. endef
  527. define KernelPackage/fs-vfat/description
  528. Kernel module for VFAT filesystem support
  529. endef
  530. $(eval $(call KernelPackage,fs-vfat))
  531. define KernelPackage/fs-xfs
  532. SUBMENU:=$(FS_MENU)
  533. TITLE:=XFS filesystem support
  534. KCONFIG:=CONFIG_XFS_FS
  535. DEPENDS:= +kmod-fs-exportfs +kmod-lib-crc32c
  536. FILES:=$(LINUX_DIR)/fs/xfs/xfs.ko
  537. AUTOLOAD:=$(call AutoLoad,30,xfs,1)
  538. endef
  539. define KernelPackage/fs-xfs/description
  540. Kernel module for XFS support
  541. endef
  542. $(eval $(call KernelPackage,fs-xfs))
  543. define KernelPackage/fuse
  544. SUBMENU:=$(FS_MENU)
  545. TITLE:=FUSE (Filesystem in Userspace) support
  546. KCONFIG:= CONFIG_FUSE_FS
  547. FILES:=$(LINUX_DIR)/fs/fuse/fuse.ko
  548. AUTOLOAD:=$(call AutoLoad,80,fuse)
  549. endef
  550. define KernelPackage/fuse/description
  551. Kernel module for userspace filesystem support
  552. endef
  553. $(eval $(call KernelPackage,fuse))
  554. define KernelPackage/pstore
  555. SUBMENU:=$(FS_MENU)
  556. TITLE:=Pstore file system
  557. DEFAULT:=m if ALL_KMODS
  558. KCONFIG:= \
  559. CONFIG_PSTORE \
  560. CONFIG_PSTORE_COMPRESS=y \
  561. CONFIG_PSTORE_COMPRESS_DEFAULT="deflate" \
  562. CONFIG_PSTORE_DEFLATE_COMPRESS=y \
  563. CONFIG_PSTORE_DEFLATE_COMPRESS_DEFAULT=y
  564. FILES:= $(LINUX_DIR)/fs/pstore/pstore.ko
  565. AUTOLOAD:=$(call AutoLoad,30,pstore,1)
  566. endef
  567. define KernelPackage/pstore/description
  568. Kernel module for pstore filesystem support
  569. endef
  570. $(eval $(call KernelPackage,pstore))