xref: /openbmc/u-boot/fs/Makefile (revision 1b965432)
1# SPDX-License-Identifier: GPL-2.0+
2#
3# (C) Copyright 2000-2006
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5# Copyright (c) 2012, NVIDIA CORPORATION.  All rights reserved.
6
7ifdef CONFIG_SPL_BUILD
8obj-$(CONFIG_SPL_FAT_SUPPORT) += fat/
9obj-$(CONFIG_SPL_EXT_SUPPORT) += ext4/
10else
11obj-y				+= fs.o
12
13obj-$(CONFIG_FS_BTRFS) += btrfs/
14obj-$(CONFIG_FS_CBFS) += cbfs/
15obj-$(CONFIG_CMD_CRAMFS) += cramfs/
16obj-$(CONFIG_FS_EXT4) += ext4/
17obj-y += fat/
18obj-$(CONFIG_FS_JFFS2) += jffs2/
19obj-$(CONFIG_CMD_REISER) += reiserfs/
20obj-$(CONFIG_SANDBOX) += sandbox/
21obj-$(CONFIG_CMD_UBIFS) += ubifs/
22obj-$(CONFIG_YAFFS2) += yaffs2/
23obj-$(CONFIG_CMD_ZFS) += zfs/
24endif
25obj-y += fs_internal.o
26