diff options
author | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-08-16 19:38:04 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-08-16 19:39:04 +0200 |
commit | 290956cc3a790e4d8167073f5531b1de2b989e9b (patch) | |
tree | 047d6b23755516b22516fcc5f204692758c48de3 /mk/fs.mk | |
parent | 6ce8fbf63a210a9fd52c15555257e7aedc773fd3 (diff) | |
download | embtoolkit-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/fs.mk')
-rw-r--r-- | mk/fs.mk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -45,6 +45,12 @@ build_jffs2_rootfs: -o $(EMBTK_ROOT)/rootfs-$(GNU_TARGET)-$(EMBTK_MCU_FLAG).jffs2 @rm -rf $(EMBTK_ROOT)/rootfs-$(GNU_TARGET)-$(EMBTK_MCU_FLAG).jffs2.temp +build_squashfs_rootfs: + $(call EMBTK_GENERIC_MESSAGE,"Generating squashfs root filesystem...") + $(FAKEROOT_BIN) -i $(EMBTK_ROOT)/.fakeroot.001 -- \ + $(HOSTTOOLS)/usr/bin/mksquashfs $(ROOTFS) \ + rootfs-$(GNU_TARGET)-$(EMBTK_MCU_FLAG).squashfs + build_initramfs_archive: $(call EMBTK_GENERIC_MESSAGE,"Generating cpio archive for initramfs...") ifeq ($(EMBTK_ROOTFS_HAVE_INITRAMFS_CPIO_GZIPED),y) |