aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorGravatar Will Wagner <will_wagner@carallon.com>2013-07-15 12:11:24 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-04-20 18:07:11 +0200
commit6b1ca27b1a591ba82209b9f7bcd6b39536b41885 (patch)
tree6e07275a33eb63dbf2fe3b7af9ba25f34be6c095 /fs
parentf27831ae132eab5524b4b3ecec8747c1e9471b3d (diff)
downloadbuildroot-6b1ca27b1a591ba82209b9f7bcd6b39536b41885.tar.gz
buildroot-6b1ca27b1a591ba82209b9f7bcd6b39536b41885.tar.bz2
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/Config.in1
-rw-r--r--fs/yaffs2/Config.in4
-rw-r--r--fs/yaffs2/yaffs.mk13
3 files changed, 18 insertions, 0 deletions
diff --git a/fs/Config.in b/fs/Config.in
index da4c5ff1b4..5853113427 100644
--- a/fs/Config.in
+++ b/fs/Config.in
@@ -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
diff --git a/fs/yaffs2/Config.in b/fs/yaffs2/Config.in
new file mode 100644
index 0000000000..27da4ba638
--- /dev/null
+++ b/fs/yaffs2/Config.in
@@ -0,0 +1,4 @@
+config BR2_TARGET_ROOTFS_YAFFS2
+ bool "yaffs2 root filesystem"
+ help
+ Build a yaffs2 root filesystem
diff --git a/fs/yaffs2/yaffs.mk b/fs/yaffs2/yaffs.mk
new file mode 100644
index 0000000000..19bdbe842e
--- /dev/null
+++ b/fs/yaffs2/yaffs.mk
@@ -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))