lzma: Various cleanups and a bugfix
authorTom Rini <tom_rini@mentor.com>
Wed, 23 Feb 2011 19:51:24 +0000 (12:51 -0700)
committerTom Rini <tom_rini@mentor.com>
Wed, 23 Feb 2011 21:07:01 +0000 (14:07 -0700)
commit6bb7f0a60617f50da54eaa03f25a14bfb19aad64
tree39b1fce05c3444fd464d9c1b46748d350ec8d727
parentc596318ffcfaf06ef5dd8d5270a55ff58e4daad6
lzma: Various cleanups and a bugfix

We use the subdir parameter to SRC_URI so that we will unpack into
the normal S directory rather than WORKDIR (which avoids a race with
the append to unpack and removal of empty log files).  Next, we replace
the regex to override the compiler with a patch that really does it
where it's needed (C/LzmaUtil) and now we have a target liblzma.a
rather than host liblzma.a.  For CPP/7zip/Compress/LZMA_Alone we
just need to pass in correct values via CXX_C / CXX.  Given
the structure of the Makefile it's easiest to pass in the rest
of the flags as part of the compiler.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/lzma/lzma-4.65/makefile-cleanup.patch [new file with mode: 0644]
recipes/lzma/lzma.inc