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> SVN-Revision: 34473
This commit is contained in:
parent
6504b268b3
commit
592aa97626
1 changed files with 2 additions and 0 deletions
|
@ -109,6 +109,7 @@ 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
|
||||||
|
|
||||||
|
@ -116,6 +117,7 @@ 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue