From: Florian Fainelli Date: Tue, 4 Dec 2012 16:19:09 +0000 (+0000) Subject: include/image.mk: call Image/Build/{cpiogz,targz} X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=592aa9762665c033e1473d3de5e5137a9db57663;p=openwrt%2Fstaging%2Fblocktrron.git 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 Signed-off-by: Florian Fainelli SVN-Revision: 34473 --- 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