diff options
Diffstat (limited to 'meta/recipes-extended/bzip2')
-rw-r--r-- | meta/recipes-extended/bzip2/bzip2_1.0.6.bb | 4 |
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 | |||
24 | ALTERNATIVE_PRIORITY = "100" | 24 | ALTERNATIVE_PRIORITY = "100" |
25 | ALTERNATIVE_${PN} = "bunzip2 bzcat" | 25 | ALTERNATIVE_${PN} = "bunzip2 bzcat" |
26 | 26 | ||
27 | #install binaries to bzip2-native under sysroot for replacement-native | ||
28 | EXTRA_OECONF_virtclass-native += "--bindir=${STAGING_BINDIR_NATIVE}/${PN}" | ||
27 | do_configure_prepend () { | 29 | do_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" | |||
40 | SECTION_libbz2-staticdev = "devel" | 42 | SECTION_libbz2-staticdev = "devel" |
41 | RDEPENDS_libbz2-staticdev = "libbz2-dev (= ${EXTENDPKGV})" | 43 | RDEPENDS_libbz2-staticdev = "libbz2-dev (= ${EXTENDPKGV})" |
42 | 44 | ||
43 | PROVIDES_append_virtclass-native = " bzip2-full-native" | 45 | PROVIDES_append_virtclass-native = " bzip2-replacement-native" |
44 | BBCLASSEXTEND = "native" | 46 | BBCLASSEXTEND = "native" |