From 1d10f37b2e1ed5abf60d903eefe471cd7a8ce58e Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 29 Nov 2006 19:28:41 +0000 Subject: - keep the original tarball around. --- target/tar/tarroot.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'target') diff --git a/target/tar/tarroot.mk b/target/tar/tarroot.mk index d5a626e0e..943cc171b 100644 --- a/target/tar/tarroot.mk +++ b/target/tar/tarroot.mk @@ -10,15 +10,15 @@ TAR_TARGET:=$(IMAGE).tar TAR_COMPRESSOR:= TAR_COMPRESSOR_EXT:=.none ifeq ($(BR2_TARGET_ROOTFS_TAR_GZIP),y) -TAR_COMPRESSOR:=gzip -9 +TAR_COMPRESSOR:=gzip -9 -c TAR_COMPRESSOR_EXT:=gz endif ifeq ($(BR2_TARGET_ROOTFS_TAR_BZIP2),y) -TAR_COMPRESSOR:=bzip2 -9 +TAR_COMPRESSOR:=bzip2 -9 -c TAR_COMPRESSOR_EXT:=bz2 endif ifeq ($(BR2_TARGET_ROOTFS_TAR_LZMA),y) -TAR_COMPRESSOR:=lzma -9 +TAR_COMPRESSOR:=lzma -9 -c TAR_COMPRESSOR_EXT:=lzma endif @@ -42,7 +42,7 @@ tarroot: host-fakeroot makedevs $(STAGING_DIR)/usr/bin/fakeroot -- $(STAGING_DIR)/_fakeroot.$(notdir $(TAR_TARGET)) ifneq ($(TAR_COMPRESSOR),) -rm -f $(TAR_TARGET).$() - PATH="$(STAGING_DIR)/sbin:$(STAGING_DIR)/bin:$(STAGING_DIR)/usr/sbin:$(STAGING_DIR)/usr/bin:$(PATH)" $(TAR_COMPRESSOR) $(TAR_TARGET) + PATH="$(STAGING_DIR)/sbin:$(STAGING_DIR)/bin:$(STAGING_DIR)/usr/sbin:$(STAGING_DIR)/usr/bin:$(PATH)" $(TAR_COMPRESSOR) $(TAR_TARGET) > $(TAR_TARGET).$(TAR_COMPRESSOR_EXT) endif -@rm -f $(STAGING_DIR)/_fakeroot.$(notdir $(TAR_TARGET)) -- cgit v1.2.3