48e2f0c966
Add fs.c under SPL as well as it is needed for fs_loader Signed-off-by: Keerthy <j-keerthy@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> [trini: Add as obj-$(CONFIG_FS_LOADER) for non-SPL_FRAMEWORK builds] Signed-off-by: Tom Rini <trini@konsulko.com>
27 lines
715 B
Makefile
27 lines
715 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2000-2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
# Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_FS_LOADER) += fs.o
|
|
obj-$(CONFIG_SPL_FAT_SUPPORT) += fat/
|
|
obj-$(CONFIG_SPL_EXT_SUPPORT) += ext4/
|
|
else
|
|
obj-y += fs.o
|
|
|
|
obj-$(CONFIG_FS_BTRFS) += btrfs/
|
|
obj-$(CONFIG_FS_CBFS) += cbfs/
|
|
obj-$(CONFIG_CMD_CRAMFS) += cramfs/
|
|
obj-$(CONFIG_FS_EXT4) += ext4/
|
|
obj-y += fat/
|
|
obj-$(CONFIG_FS_JFFS2) += jffs2/
|
|
obj-$(CONFIG_CMD_REISER) += reiserfs/
|
|
obj-$(CONFIG_SANDBOX) += sandbox/
|
|
obj-$(CONFIG_CMD_UBIFS) += ubifs/
|
|
obj-$(CONFIG_YAFFS2) += yaffs2/
|
|
obj-$(CONFIG_CMD_ZFS) += zfs/
|
|
endif
|
|
obj-y += fs_internal.o
|