diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2012-10-27 16:48:17 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-02 16:18:29 +0000 |
commit | d005b787dfe2c9bcaefe41836f9b1c3008105171 (patch) | |
tree | f6840a662b7f625f98f033303d0fcbcb87564e30 /meta/recipes-extended/bzip2 | |
parent | cc1f50fca85dc48a237a518b8afe8563225ea8fa (diff) | |
download | poky-d005b787dfe2c9bcaefe41836f9b1c3008105171.tar.gz |
recipes-extended: replace virtclass-native(sdk) with class-native(sdk)
The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.
[YOCTO #3297]
(From OE-Core rev: 528b4ab831c7b0bc1412318d29e2b7f9cf711d57)
Signed-off-by: Robert Yang <liezhi.yang@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.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb index d03b57d33a..6e160cd3e0 100644 --- a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb +++ b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb | |||
@@ -25,7 +25,7 @@ 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 | 27 | #install binaries to bzip2-native under sysroot for replacement-native |
28 | EXTRA_OECONF_virtclass-native += "--bindir=${STAGING_BINDIR_NATIVE}/${PN}" | 28 | EXTRA_OECONF_class-native += "--bindir=${STAGING_BINDIR_NATIVE}/${PN}" |
29 | do_configure_prepend () { | 29 | do_configure_prepend () { |
30 | cp ${WORKDIR}/configure.ac ${S}/ | 30 | cp ${WORKDIR}/configure.ac ${S}/ |
31 | cp ${WORKDIR}/Makefile.am ${S}/ | 31 | cp ${WORKDIR}/Makefile.am ${S}/ |
@@ -42,6 +42,6 @@ FILES_libbz2-staticdev = "${libdir}/*.a" | |||
42 | SECTION_libbz2-staticdev = "devel" | 42 | SECTION_libbz2-staticdev = "devel" |
43 | RDEPENDS_libbz2-staticdev = "libbz2-dev (= ${EXTENDPKGV})" | 43 | RDEPENDS_libbz2-staticdev = "libbz2-dev (= ${EXTENDPKGV})" |
44 | 44 | ||
45 | PROVIDES_append_virtclass-native = " bzip2-replacement-native" | 45 | PROVIDES_append_class-native = " bzip2-replacement-native" |
46 | BBCLASSEXTEND = "native nativesdk" | 46 | BBCLASSEXTEND = "native nativesdk" |
47 | 47 | ||