X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=fs%2FMakefile;h=bad0c2cc33e9f632da7f1ca22178404f0ef1c7af;hb=83d290c56fab2d38cd1ab4c4cc7099559c1d5046;hp=bdcd74631d603def66d49b079c4200519236846a;hpb=c0bb110b695130866838518e680bdd5473e47928;p=u-boot diff --git a/fs/Makefile b/fs/Makefile index bdcd74631d..bad0c2cc33 100644 --- a/fs/Makefile +++ b/fs/Makefile @@ -1,20 +1,25 @@ +# 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. -# -# SPDX-License-Identifier: GPL-2.0+ -# +ifdef CONFIG_SPL_BUILD +obj-$(CONFIG_SPL_FAT_SUPPORT) += fat/ +obj-$(CONFIG_SPL_EXT_SUPPORT) += ext4/ +else obj-y += fs.o -obj-y += cbfs/ -obj-y += cramfs/ -obj-y += ext4/ -obj-y += fdos/ -obj-y += jffs2/ -obj-y += reiserfs/ -obj-y += sandbox/ -obj-y += ubifs/ -obj-y += yaffs2/ -obj-y += zfs/ +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