From: Thomas De Schampheleire Date: Mon, 9 Mar 2015 09:34:13 +0000 (+0100) Subject: fs/common: build host-xz when xz compression is used X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=26e0d500b58cb6ccfdb84426ba2f866ada3b01f3;p=buildroot.git fs/common: build host-xz when xz compression is used When a filesystem image is xz-compressed, the XZ variable is used to refer to the xz compression tool, but it is not necessarily available. Add a proper dependency to fix that. Signed-off-by: Thomas De Schampheleire Signed-off-by: Thomas Petazzoni --- diff --git a/fs/common.mk b/fs/common.mk index 1d3926f98c..5d07f00561 100644 --- a/fs/common.mk +++ b/fs/common.mk @@ -62,6 +62,7 @@ ROOTFS_$(2)_COMPRESS_EXT = .lzo ROOTFS_$(2)_COMPRESS_CMD = $$(LZOP) -9 -c endif ifeq ($$(BR2_TARGET_ROOTFS_$(2)_XZ),y) +ROOTFS_$(2)_DEPENDENCIES += host-xz ROOTFS_$(2)_COMPRESS_EXT = .xz ROOTFS_$(2)_COMPRESS_CMD = xz -9 -C crc32 -c endif