xref: /openbmc/u-boot/fs/Makefile (revision 2752a453)
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/
11else
12obj-y				+= fs.o
13
14obj-$(CONFIG_FS_BTRFS) += btrfs/
15obj-$(CONFIG_FS_CBFS) += cbfs/
16obj-$(CONFIG_CMD_CRAMFS) += cramfs/
17obj-$(CONFIG_FS_EXT4) += ext4/
18obj-y += fat/
19obj-$(CONFIG_FS_JFFS2) += jffs2/
20obj-$(CONFIG_CMD_REISER) += reiserfs/
21obj-$(CONFIG_SANDBOX) += sandbox/
22obj-$(CONFIG_CMD_UBIFS) += ubifs/
23obj-$(CONFIG_YAFFS2) += yaffs2/
24obj-$(CONFIG_CMD_ZFS) += zfs/
25endif
26obj-y += fs_internal.o
27