[oe-commits] Stanislav Brabec : lzma: Stage lzma binary, initramfs-kexecboot-image depends on it ( removed do_stage and added NATIVE_INSTALL_WORKS).

git version control git at git.openembedded.org
Fri Jan 8 09:06:22 UTC 2010


Module: openembedded.git
Branch: shr/merge
Commit: 2cada8a1fd757b17dca27255326bda6e0237c69d
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2cada8a1fd757b17dca27255326bda6e0237c69d

Author: Stanislav Brabec <utx at penguin.cz>
Date:   Thu Jan  7 23:12:30 2010 +0000

lzma: Stage lzma binary, initramfs-kexecboot-image depends on it (removed do_stage and added NATIVE_INSTALL_WORKS).

---

 recipes/lzma/lzma-native_4.65.bb |    1 +
 recipes/lzma/lzma.inc            |    8 +-------
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/recipes/lzma/lzma-native_4.65.bb b/recipes/lzma/lzma-native_4.65.bb
index 0bb42ea..da05dfa 100644
--- a/recipes/lzma/lzma-native_4.65.bb
+++ b/recipes/lzma/lzma-native_4.65.bb
@@ -1,4 +1,5 @@
 inherit native
+NATIVE_INSTALL_WORKS = "1"
 
 require lzma.inc
 PR = "${INC_PR}.1"
diff --git a/recipes/lzma/lzma.inc b/recipes/lzma/lzma.inc
index 4d31a44..e51de95 100644
--- a/recipes/lzma/lzma.inc
+++ b/recipes/lzma/lzma.inc
@@ -2,7 +2,7 @@ DESCRIPTION = "LZMA is a general compression method. LZMA provides high compress
 HOMEPAGE = "http://www.7-zip.org/"
 LICENSE = "LGPL"
 DEPENDS = "zlib"
-INC_PR = "r3"
+INC_PR = "r4"
 
 SRC_URI = "http://downloads.sourceforge.net/sevenzip/lzma${@bb.data.getVar('PV',d,1).replace('.','')}.tar.bz2 \
            file://001-large_files.patch;patch=1 \
@@ -36,9 +36,3 @@ do_install() {
         install -m 0755 CPP/7zip/Compress/LZMA_Alone/lzma ${D}${bindir}
         oe_libinstall -a -C C/LzmaUtil liblzma ${D}${libdir}
 }
-
-do_stage () {
-        install --d ${STAGING_INCDIR}/lzma
-        install -m 0644 C/*.h ${STAGING_INCDIR}/lzma
-        oe_libinstall -a -C C/LzmaUtil liblzma ${STAGING_LIBDIR}
-}





More information about the Openembedded-commits mailing list