]> Git Repo - buildroot-mgba.git/commitdiff
fs/common: build host-xz when xz compression is used
authorThomas De Schampheleire <[email protected]>
Mon, 9 Mar 2015 09:34:13 +0000 (10:34 +0100)
committerThomas Petazzoni <[email protected]>
Mon, 9 Mar 2015 13:10:13 +0000 (14:10 +0100)
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 <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
fs/common.mk

index 1d3926f98caf17089d190806b41a5ab9f0c920d0..5d07f0056110b0cb09565fec82c2134b89b9a63e 100644 (file)
@@ -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
This page took 0.03123 seconds and 4 git commands to generate.