summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-29 19:28:41 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-29 19:28:41 +0000
commit1d10f37b2e1ed5abf60d903eefe471cd7a8ce58e (patch)
tree9046f285dc10baedea148602028a3899d8cf839c /target
parentf7de9bf6150d2453e68b75725b476a5d012dce5a (diff)
downloadbuildroot-novena-1d10f37b2e1ed5abf60d903eefe471cd7a8ce58e.tar.gz
buildroot-novena-1d10f37b2e1ed5abf60d903eefe471cd7a8ce58e.zip
- keep the original tarball around.
Diffstat (limited to 'target')
-rw-r--r--target/tar/tarroot.mk8
1 files changed, 4 insertions, 4 deletions
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))