diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-11-04 19:15:56 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-11-04 19:15:56 +0000 |
commit | a44651de6e365e0352d103e9795bfa53dcef0dae (patch) | |
tree | f8530e34c7d9c928799da7f4ba3e206b447c84d2 /target/ext2/ext2root.mk | |
parent | 86d9fd0a37f45611b3f9b1ac429387c5e7ad0ac3 (diff) | |
download | buildroot-novena-a44651de6e365e0352d103e9795bfa53dcef0dae.tar.gz buildroot-novena-a44651de6e365e0352d103e9795bfa53dcef0dae.zip |
- Patch from Thomas Lundquist to support lzma compressed ext2 rootfs.
Diffstat (limited to 'target/ext2/ext2root.mk')
-rw-r--r-- | target/ext2/ext2root.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/ext2/ext2root.mk b/target/ext2/ext2root.mk index c7c7cb200..c88437f2b 100644 --- a/target/ext2/ext2root.mk +++ b/target/ext2/ext2root.mk @@ -66,6 +66,10 @@ else EXT2_TARGET := $(EXT2_BASE) endif +ifeq ($(strip $(BR2_TARGET_ROOTFS_EXT2_LZMA)),y) +EXT2_TARGET := $(EXT2_BASE).lzma +endif + $(EXT2_BASE): host-fakeroot makedevs genext2fs -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true; @rm -rf $(TARGET_DIR)/usr/man @@ -102,6 +106,9 @@ endif $(EXT2_BASE).gz: $(EXT2_BASE) @gzip --best -fv $(EXT2_BASE) +$(EXT2_BASE).lzma: lzma-host $(EXT2_BASE) + @$(STAGING_DIR)/bin/lzma -vc $(EXT2_BASE) > $(EXT2_BASE).lzma + EXT2_COPYTO := $(strip $(subst ",,$(BR2_TARGET_ROOTFS_EXT2_COPYTO))) # " stupid syntax highlighting does not like unmatched quote from above line |