1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-16 19:45:00 +02:00

Revert "include/image.mk: call Image/Build/{cpiogz,targz}"

This breaks on platforms building their own targz/cpioz images.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34498 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2012-12-04 22:59:05 +00:00
parent 7772992636
commit 3bcbd52978

View File

@ -109,7 +109,6 @@ endif
ifneq ($(CONFIG_TARGET_ROOTFS_CPIOGZ),) ifneq ($(CONFIG_TARGET_ROOTFS_CPIOGZ),)
define Image/mkfs/cpiogz define Image/mkfs/cpiogz
( cd $(TARGET_DIR); find . | cpio -o -H newc | gzip -9 >$(BIN_DIR)/$(IMG_PREFIX)-rootfs.cpio.gz ) ( cd $(TARGET_DIR); find . | cpio -o -H newc | gzip -9 >$(BIN_DIR)/$(IMG_PREFIX)-rootfs.cpio.gz )
$(call Image/Build,cpiogz)
endef endef
endif endif
@ -117,7 +116,6 @@ ifneq ($(CONFIG_TARGET_ROOTFS_TARGZ),)
define Image/mkfs/targz define Image/mkfs/targz
# Preserve permissions (-p) when building as non-root user # Preserve permissions (-p) when building as non-root user
$(TAR) -czpf $(BIN_DIR)/$(IMG_PREFIX)-rootfs.tar.gz --numeric-owner --owner=0 --group=0 -C $(TARGET_DIR)/ . $(TAR) -czpf $(BIN_DIR)/$(IMG_PREFIX)-rootfs.tar.gz --numeric-owner --owner=0 --group=0 -C $(TARGET_DIR)/ .
$(call Image/Build,targz)
endef endef
endif endif