aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-12-04 16:19:09 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-12-04 16:19:09 +0000
commit4a233e175e05efb91185ff9dd5313dd268308d31 (patch)
treeec3e82430b25da04d49da4a643cb97ce15e3d12d /include
parentb0ab057b7254649335bd2cbbaa1e2541fbe7be80 (diff)
downloadupstream-4a233e175e05efb91185ff9dd5313dd268308d31.tar.gz
upstream-4a233e175e05efb91185ff9dd5313dd268308d31.tar.bz2
upstream-4a233e175e05efb91185ff9dd5313dd268308d31.zip
include/image.mk: call Image/Build/{cpiogz,targz}
All Image/mkfs/... macros call the Image/Build except for Image/mkfs/targz and Image/mkfs/cpiogz This patch adds the Image/Build call for Image/mkfs/targz and Image/mkfs/cpiogz. Signed-off-by: Maarten Bezemer <m.m.bezemer@utwente.nl> Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34473 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/image.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/image.mk b/include/image.mk
index 503115ddb0..7758c9a90a 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -109,6 +109,7 @@ endif
ifneq ($(CONFIG_TARGET_ROOTFS_CPIOGZ),)
define Image/mkfs/cpiogz
( cd $(TARGET_DIR); find . | cpio -o -H newc | gzip -9 >$(BIN_DIR)/$(IMG_PREFIX)-rootfs.cpio.gz )
+ $(call Image/Build,cpiogz)
endef
endif
@@ -116,6 +117,7 @@ ifneq ($(CONFIG_TARGET_ROOTFS_TARGZ),)
define Image/mkfs/targz
# 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)/ .
+ $(call Image/Build,targz)
endef
endif