aboutsummaryrefslogtreecommitdiff
path: root/fs/yaffs2
diff options
context:
space:
mode:
Diffstat (limited to 'fs/yaffs2')
-rw-r--r--fs/yaffs2/Config.in4
-rw-r--r--fs/yaffs2/yaffs.mk13
2 files changed, 17 insertions, 0 deletions
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))