summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/bzip2
diff options
context:
space:
mode:
authorYao Zhao <yao.zhao@windriver.com>2012-07-26 16:34:19 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-28 09:20:52 +0100
commit3f05622bac998f351168eb49a5ca96e7473f51be (patch)
treea6eb6b8550e073d93c7096d0d8e61cace1d63273 /meta/recipes-extended/bzip2
parent6c93f7095e78281e010e84fa7c6212da9a91d39f (diff)
downloadpoky-3f05622bac998f351168eb49a5ca96e7473f51be.tar.gz
bzip2-native: handling native path issue
follow Richard's approach, modify bzip2-native recipe to install bzip2 package binaries to STAGING_BINDIR_NATIVE/bzip2-native to avoid problems when other package is doing upack to reference bzip2. libbz2.so* still installs to STAGING_LIBDIR_NATIVE. change python-native to depends on bzip2-replacement-native instead of bzip2-full-native and add EXTRANATIVEPATH for bzip2-native. Didn't add bzip2native.bbclass as python-native is the only user so far. (From OE-Core rev: 5bf3541836457465aa76577bfb41cdf6316213c9) Signed-off-by: Yao Zhao <yao.zhao@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/bzip2')
-rw-r--r--meta/recipes-extended/bzip2/bzip2_1.0.6.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
index 43b462ad8c..e0c710b038 100644
--- a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
+++ b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
@@ -24,6 +24,8 @@ inherit autotools update-alternatives
24ALTERNATIVE_PRIORITY = "100" 24ALTERNATIVE_PRIORITY = "100"
25ALTERNATIVE_${PN} = "bunzip2 bzcat" 25ALTERNATIVE_${PN} = "bunzip2 bzcat"
26 26
27#install binaries to bzip2-native under sysroot for replacement-native
28EXTRA_OECONF_virtclass-native += "--bindir=${STAGING_BINDIR_NATIVE}/${PN}"
27do_configure_prepend () { 29do_configure_prepend () {
28 cp ${WORKDIR}/configure.ac ${S}/ 30 cp ${WORKDIR}/configure.ac ${S}/
29 cp ${WORKDIR}/Makefile.am ${S}/ 31 cp ${WORKDIR}/Makefile.am ${S}/
@@ -40,5 +42,5 @@ FILES_libbz2-staticdev = "${libdir}/*.a"
40SECTION_libbz2-staticdev = "devel" 42SECTION_libbz2-staticdev = "devel"
41RDEPENDS_libbz2-staticdev = "libbz2-dev (= ${EXTENDPKGV})" 43RDEPENDS_libbz2-staticdev = "libbz2-dev (= ${EXTENDPKGV})"
42 44
43PROVIDES_append_virtclass-native = " bzip2-full-native" 45PROVIDES_append_virtclass-native = " bzip2-replacement-native"
44BBCLASSEXTEND = "native" 46BBCLASSEXTEND = "native"