fs.mk 17 KB

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