fs.mk 15 KB

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