summaryrefslogtreecommitdiff
path: root/fs/Makefile
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@seco.com>2022-03-22 16:59:20 -0400
committerTom Rini <trini@konsulko.com>2022-04-01 15:03:13 -0400
commitf676b45151c33986501e5f8f9bcc64f4a9511089 (patch)
tree7a893e7f077239f473c820069f054d25ec1d6d37 /fs/Makefile
parent8e1c9fe243a31a0b0a40a80cc20fc3c06246d675 (diff)
downloadu-boot-f676b45151c33986501e5f8f9bcc64f4a9511089.tar.gz
u-boot-f676b45151c33986501e5f8f9bcc64f4a9511089.tar.bz2
u-boot-f676b45151c33986501e5f8f9bcc64f4a9511089.zip
fs: Add semihosting filesystem
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>
Diffstat (limited to 'fs/Makefile')
-rw-r--r--fs/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/Makefile b/fs/Makefile
index f05a21c9e6..4bed2ff2d9 100644
--- a/fs/Makefile
+++ b/fs/Makefile
@@ -21,6 +21,7 @@ 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/