Add the basic build infrastructure for the ext4l filesystem: - Add FS_EXT4L Kconfig option in fs/ext4l/Kconfig - Add ext4l to fs/Kconfig and fs/Makefile - Add fstype_info entry in fs_legacy.c with unsupported stubs - Add minimal interface.c with stub probe/close functions This allows sandbox to build with CONFIG_FS_EXT4L=y. The filesystem doesn't work yet - all operations return unsupported. Co-developed-by: Claude <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com>
35 lines
1.0 KiB
Makefile
35 lines
1.0 KiB
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.
|
|
|
|
obj-$(CONFIG_$(PHASE_)FS_LEGACY) += fs_legacy.o fs_internal.o
|
|
obj-$(CONFIG_$(PHASE_)FS) += fs-uclass.o
|
|
obj-$(CONFIG_$(PHASE_)DIR) += dir-uclass.o
|
|
obj-$(CONFIG_$(PHASE_)FILE) += file-uclass.o
|
|
|
|
ifdef CONFIG_XPL_BUILD
|
|
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-$(CONFIG_FS_BTRFS) += btrfs/
|
|
obj-$(CONFIG_FS_CBFS) += cbfs/
|
|
obj-$(CONFIG_CMD_CRAMFS) += cramfs/
|
|
obj-$(CONFIG_FS_EXFAT) += exfat/
|
|
obj-$(CONFIG_FS_EXT4) += ext4/
|
|
obj-$(CONFIG_FS_EXT4L) += ext4l/
|
|
obj-$(CONFIG_FS_FAT) += fat/
|
|
obj-$(CONFIG_FS_JFFS2) += jffs2/
|
|
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
|