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_FS_LOADER) += fs.o
9obj-$(CONFIG_SPL_FS_FAT) += fat/
10obj-$(CONFIG_SPL_FS_EXT4) += ext4/
11obj-$(CONFIG_SPL_FS_CBFS) += cbfs/
12obj-$(CONFIG_SPL_FS_SQUASHFS) += squashfs/
13else
14obj-y				+= fs.o
15
16obj-$(CONFIG_FS_BTRFS) += btrfs/
17obj-$(CONFIG_FS_CBFS) += cbfs/
18obj-$(CONFIG_CMD_CRAMFS) += cramfs/
19obj-$(CONFIG_FS_EXT4) += ext4/
20obj-$(CONFIG_FS_FAT) += fat/
21obj-$(CONFIG_FS_JFFS2) += jffs2/
22obj-$(CONFIG_CMD_REISER) += reiserfs/
23obj-$(CONFIG_SANDBOX) += sandbox/
24obj-$(CONFIG_CMD_UBIFS) += ubifs/
25obj-$(CONFIG_YAFFS2) += yaffs2/
26obj-$(CONFIG_CMD_ZFS) += zfs/
27obj-$(CONFIG_FS_SQUASHFS) += squashfs/
28endif
29obj-y += fs_internal.o
30