* [Buildroot] [PATCH] Don't build host-xz needlessly
@ 2014-04-06 14:06 Baruch Siach
2014-04-07 14:05 ` Thomas De Schampheleire
2014-04-07 19:40 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Baruch Siach @ 2014-04-06 14:06 UTC (permalink / raw)
To: buildroot
Since commit d1f325f554cab (xzcat: treat as host prerequisite and build if
needed) host-xz is always built when the host does not have xz installed.
Removed all other host-xz dependencies.
Cc: Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
fs/common.mk | 1 -
package/squashfs/squashfs.mk | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/fs/common.mk b/fs/common.mk
index d95c26ba5c43..080b8c687efb 100644
--- a/fs/common.mk
+++ b/fs/common.mk
@@ -59,7 +59,6 @@ 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
diff --git a/package/squashfs/squashfs.mk b/package/squashfs/squashfs.mk
index bff308c2fd57..8c6350ab4a91 100644
--- a/package/squashfs/squashfs.mk
+++ b/package/squashfs/squashfs.mk
@@ -40,7 +40,7 @@ SQUASHFS_MAKE_ARGS += GZIP_SUPPORT=0
endif
-HOST_SQUASHFS_DEPENDENCIES = host-zlib host-lzo host-xz
+HOST_SQUASHFS_DEPENDENCIES = host-zlib host-lzo
# no libattr/xz in BR
HOST_SQUASHFS_MAKE_ARGS = \
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] Don't build host-xz needlessly
2014-04-06 14:06 [Buildroot] [PATCH] Don't build host-xz needlessly Baruch Siach
@ 2014-04-07 14:05 ` Thomas De Schampheleire
2014-04-07 19:40 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas De Schampheleire @ 2014-04-07 14:05 UTC (permalink / raw)
To: buildroot
On Sun, Apr 6, 2014 at 4:06 PM, Baruch Siach <baruch@tkos.co.il> wrote:
> Since commit d1f325f554cab (xzcat: treat as host prerequisite and build if
> needed) host-xz is always built when the host does not have xz installed.
> Removed all other host-xz dependencies.
>
> Cc: Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] Don't build host-xz needlessly
2014-04-06 14:06 [Buildroot] [PATCH] Don't build host-xz needlessly Baruch Siach
2014-04-07 14:05 ` Thomas De Schampheleire
@ 2014-04-07 19:40 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2014-04-07 19:40 UTC (permalink / raw)
To: buildroot
>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:
> Since commit d1f325f554cab (xzcat: treat as host prerequisite and build if
> needed) host-xz is always built when the host does not have xz installed.
> Removed all other host-xz dependencies.
> Cc: Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> fs/common.mk | 1 -
> package/squashfs/squashfs.mk | 2 +-
> 2 files changed, 1 insertion(+), 2 deletions(-)
> diff --git a/fs/common.mk b/fs/common.mk
> index d95c26ba5c43..080b8c687efb 100644
> --- a/fs/common.mk
> +++ b/fs/common.mk
> @@ -59,7 +59,6 @@ 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
> diff --git a/package/squashfs/squashfs.mk b/package/squashfs/squashfs.mk
> index bff308c2fd57..8c6350ab4a91 100644
> --- a/package/squashfs/squashfs.mk
> +++ b/package/squashfs/squashfs.mk
> @@ -40,7 +40,7 @@ SQUASHFS_MAKE_ARGS += GZIP_SUPPORT=0
> endif
> -HOST_SQUASHFS_DEPENDENCIES = host-zlib host-lzo host-xz
> +HOST_SQUASHFS_DEPENDENCIES = host-zlib host-lzo
squashfs needs the libxz development files, which might not be available
just because xzcat is, so I've dropped this line and committed - Thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-04-07 19:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-06 14:06 [Buildroot] [PATCH] Don't build host-xz needlessly Baruch Siach
2014-04-07 14:05 ` Thomas De Schampheleire
2014-04-07 19:40 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.