[Buildroot] [PATCH] crosstool-ng: add dependency to host-lzma if no lzma found
Thomas De Schampheleire
patrickdepinguin+buildroot at gmail.com
Fri Oct 7 18:34:34 UTC 2011
On Fri, Oct 7, 2011 at 8:10 PM, Yann E. MORIN
<yann.morin.1998 at anciens.enib.fr> wrote:
> Thomas, All,
> On Friday 07 October 2011 16:51:48 Thomas De Schampheleire wrote:
>> Crosstool compilation fails when lzma is not present. If not present on the host
>> system, we should compile one ourselves.
>> This patch uses the already existing but seemingly unused check-host-lzma.sh
>> script in toolchain/dependencies.
>> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>
> A better solution is to remove the check from crosstool-NG's ./configure.
> It's the way I followed upstream.
> In fact, it's a bit more complex than that. In the current development
> version of crosstool-NG, ./configure still checks for lzma, but it is
> not an error if it is missing.
>From which version is this available? No stable version as for now,
but the next one?
How would you like to proceed? Will you add the patch that modifies
the configure script to buildroot, or would you like me to do it?
> lzma (and/or now xz-utils) are used in crosstool-NG for two things:
> - apply the contributions in contrib/
> - download lzma/xz-compressed tarballs if possible
> For buildroot use-case, just removing the check is largely sufficient,
> because buildroot does not use the contrib/ution in crosstool-NG, and
> the download will not try .xz or .lzma, but directly try .bz2
> So, this is a NAK on my part.
Ok, thanks for your comments.
More information about the buildroot