fs.mk 15 KB

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