diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2011-11-12 22:59:18 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2011-11-12 22:59:18 +0100 |
commit | ff73811081cea38960c0bba2001fdfe50e6ce4e7 (patch) | |
tree | aa14fc7baaf7528141c5bbdfc8fd1f16db73f01c /mk/fs.mk | |
parent | 72904cc3c68385a53d4ad57b4bdc47fdb005e90e (diff) | |
download | embtoolkit-ff73811081cea38960c0bba2001fdfe50e6ce4e7.tar.gz embtoolkit-ff73811081cea38960c0bba2001fdfe50e6ce4e7.tar.bz2 embtoolkit-ff73811081cea38960c0bba2001fdfe50e6ce4e7.tar.xz |
Rootfs: squashfs: fix build for squashfs42 and later
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk/fs.mk')
-rw-r--r-- | mk/fs.mk | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -59,12 +59,16 @@ build_jffs2_rootfs: -n -p -i $(JFFS2_ROOTFS).temp -o $(JFFS2_ROOTFS) @rm -rf $(JFFS2_ROOTFS).temp +squashfs_rootfs_opts := $(ROOTFS) $(SQUASHFS_ROOTFS) +ifeq ($(CONFIG_EMBTK_SQUASHFS_TOOLS_VERSION_3_4),y) +squashfs_rootfs_opts += $(if $(CONFIG_EMBTK_TARGET_ARCH_LITTLE_ENDIAN),-le,-be) +endif +squashfs_rootfs_opts += -all-root + build_squashfs_rootfs: $(call embtk_pinfo,"Generating SQUASHFS rootfs...") $(FAKEROOT_BIN) -i $(FAKEROOT_ENV_FILE) -- \ - $(MKSQUASHFS_BIN) $(ROOTFS) $(SQUASHFS_ROOTFS) \ - $(if $(CONFIG_EMBTK_TARGET_ARCH_LITTLE_ENDIAN),-le,-be) \ - -all-root + $(MKSQUASHFS_BIN) $(squashfs_rootfs_opts) build_initramfs_archive: $(call embtk_pinfo,"Generating cpio archive for INITRAMFS...") |