summaryrefslogtreecommitdiff
path: root/mk/rootfs.mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-08-16 19:38:04 +0200
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-08-16 19:39:04 +0200
commit290956cc3a790e4d8167073f5531b1de2b989e9b (patch)
tree047d6b23755516b22516fcc5f204692758c48de3 /mk/rootfs.mk
parent6ce8fbf63a210a9fd52c15555257e7aedc773fd3 (diff)
downloadembtoolkit-290956cc3a790e4d8167073f5531b1de2b989e9b.tar.gz
embtoolkit-290956cc3a790e4d8167073f5531b1de2b989e9b.tar.bz2
embtoolkit-290956cc3a790e4d8167073f5531b1de2b989e9b.tar.xz
Rootfs: Add support of squashfs root filesystem build
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
Diffstat (limited to 'mk/rootfs.mk')
-rw-r--r--mk/rootfs.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/mk/rootfs.mk b/mk/rootfs.mk
index 4d55505..fd03370 100644
--- a/mk/rootfs.mk
+++ b/mk/rootfs.mk
@@ -47,6 +47,13 @@ ROOTFS_HOSTTOOLS_CLEAN += mtd-utils_host_clean
FILESYSTEMS += build_jffs2_rootfs
endif
+#Does squashfs filesystem selected?
+ifeq ($(CONFIG_EMBTK_ROOTFS_HAVE_SQUASHFS),y)
+include $(EMBTK_ROOT)/mk/squashfs.mk
+ROOTFS_HOSTTOOLS += squashfs_host_install
+FILESYSTEMS += build_squashfs_rootfs
+endif
+
rootfs_build:
$(call EMBTK_GENERIC_MESSAGE,"Building selected root filesystems...")
@$(MAKE) rootfs_clean mkinitialpath $(ROOTFS_HOSTTOOLS) \