yaffs2: new filesystem type

[Thomas: remove BR2_TARGET_ROOTFS_YAFFS_PATH option, rename to yaffs2
instead of yaffs.]

Signed-off-by: Will Wagner <willw@carallon.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Will Wagner 2013-07-15 12:11:24 +01:00 committed by Thomas Petazzoni
parent f27831ae13
commit 6b1ca27b1a
3 changed files with 18 additions and 0 deletions

View File

@ -11,5 +11,6 @@ source "fs/romfs/Config.in"
source "fs/squashfs/Config.in"
source "fs/tar/Config.in"
source "fs/ubifs/Config.in"
source "fs/yaffs2/Config.in"
endmenu

4
fs/yaffs2/Config.in Normal file
View File

@ -0,0 +1,4 @@
config BR2_TARGET_ROOTFS_YAFFS2
bool "yaffs2 root filesystem"
help
Build a yaffs2 root filesystem

13
fs/yaffs2/yaffs.mk Normal file
View File

@ -0,0 +1,13 @@
################################################################################
#
# Build the yaffs2 root filesystem image
#
################################################################################
ROOTFS_YAFFS2_DEPENDENCIES = host-yaffs2utils
define ROOTFS_YAFFS2_CMD
$(HOST_DIR)/usr/bin/mkyaffs2 --all-root $(TARGET_DIR) $@
endef
$(eval $(call ROOTFS_TARGET,yaffs2))