mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 13:43:28 +00:00
f676b45151
This adds a filesystem which is backed by the host's filesystem. It is modeled off of sandboxfs, which has very similar aims. Semihosting doesn't support listing directories (except with SYS_SYSTEM), so neither do we. it's possible to optimize a bit for the common case of reading a whole file by omitting a call to smh_seek, but this is left as a future optimization. Signed-off-by: Sean Anderson <sean.anderson@seco.com>
31 lines
916 B
Makefile
31 lines
916 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_FS_FAT) += fat/
|
|
obj-$(CONFIG_SPL_FS_EXT4) += ext4/
|
|
obj-$(CONFIG_SPL_FS_CBFS) += cbfs/
|
|
obj-$(CONFIG_SPL_FS_SQUASHFS) += squashfs/
|
|
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-$(CONFIG_FS_FAT) += fat/
|
|
obj-$(CONFIG_FS_JFFS2) += jffs2/
|
|
obj-$(CONFIG_CMD_REISER) += reiserfs/
|
|
obj-$(CONFIG_SANDBOX) += sandbox/
|
|
obj-$(CONFIG_SEMIHOSTING) += semihostingfs.o
|
|
obj-$(CONFIG_CMD_UBIFS) += ubifs/
|
|
obj-$(CONFIG_YAFFS2) += yaffs2/
|
|
obj-$(CONFIG_CMD_ZFS) += zfs/
|
|
obj-$(CONFIG_FS_SQUASHFS) += squashfs/
|
|
obj-$(CONFIG_FS_EROFS) += erofs/
|
|
endif
|
|
obj-y += fs_internal.o
|