From dc5328e7e9d97ea779fa06621ce6da8deaac56c9 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Sat, 27 Feb 2021 19:12:10 +0100 Subject: include: use cpio from staging dir As we built our own CPIO now, use this version instead of whatever the host may or may not provide. Signed-off-by: David Bauer --- include/image.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/image.mk') diff --git a/include/image.mk b/include/image.mk index 48911e4057..7f0d27b746 100644 --- a/include/image.mk +++ b/include/image.mk @@ -301,7 +301,7 @@ endif ifdef CONFIG_TARGET_ROOTFS_CPIOGZ define Image/Build/cpiogz - ( cd $(TARGET_DIR); find . | cpio -o -H newc -R root:root | gzip -9n >$(BIN_DIR)/$(IMG_ROOTFS).cpio.gz ) + ( cd $(TARGET_DIR); find . | $(STAGING_DIR_HOST)/bin/cpio -o -H newc -R root:root | gzip -9n >$(BIN_DIR)/$(IMG_ROOTFS).cpio.gz ) endef endif -- cgit v1.2.3