cbfs: Add functions to support multiple CBFSs
[platform/kernel/u-boot.git] / fs / Makefile
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
7 ifdef CONFIG_SPL_BUILD
8 obj-$(CONFIG_FS_LOADER) += fs.o
9 obj-$(CONFIG_SPL_FS_FAT) += fat/
10 obj-$(CONFIG_SPL_FS_EXT4) += ext4/
11 obj-$(CONFIG_SPL_FS_CBFS) += cbfs/
12 else
13 obj-y                           += fs.o
14
15 obj-$(CONFIG_FS_BTRFS) += btrfs/
16 obj-$(CONFIG_FS_CBFS) += cbfs/
17 obj-$(CONFIG_CMD_CRAMFS) += cramfs/
18 obj-$(CONFIG_FS_EXT4) += ext4/
19 obj-$(CONFIG_FS_FAT) += fat/
20 obj-$(CONFIG_FS_JFFS2) += jffs2/
21 obj-$(CONFIG_CMD_REISER) += reiserfs/
22 obj-$(CONFIG_SANDBOX) += sandbox/
23 obj-$(CONFIG_CMD_UBIFS) += ubifs/
24 obj-$(CONFIG_YAFFS2) += yaffs2/
25 obj-$(CONFIG_CMD_ZFS) += zfs/
26 endif
27 obj-y += fs_internal.o