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:28 +0000 |
commit | 5ddf8570a113035f40fa8f203c3ac33582e2c745 (patch) | |
tree | d12af46a0471f85b017597aee644a8308d6645fb /meta | |
parent | 60c3bd43949e9aa23af6f74656eb9a64b891bda6 (diff) | |
download | poky-5ddf8570a113035f40fa8f203c3ac33582e2c745.tar.gz |
recipes-support: 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.
NOTE:
There were 2 errors in libcap.inc, the BUILD_LDFLAGS_virtclass_native
should be BUILD_LDFLAGS_virtclass-native (the "_" should be "-"),
otherwise it doesn't work, and the value was: "-Wl,rpath=...", this is
incorrect, it shoudl be: "-Wl,-rpath=..." (lacked a - ), but we don't
need this line, since it is already in the default BUILD_LDFLAGS. Remove
it and we don't need to bump the PR since we just removed a unused line.
[YOCTO #3297]
(From OE-Core rev: cafb550fe9034754933f1708446dde155dcc3d51)
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')
-rw-r--r-- | meta/recipes-support/apr/apr-util_1.4.1.bb | 4 | ||||
-rw-r--r-- | meta/recipes-support/attr/ea-acl.inc | 4 | ||||
-rw-r--r-- | meta/recipes-support/boost/boost.inc | 12 | ||||
-rw-r--r-- | meta/recipes-support/createrepo/createrepo_0.4.11.bb | 4 | ||||
-rw-r--r-- | meta/recipes-support/curl/curl_7.26.0.bb | 8 | ||||
-rw-r--r-- | meta/recipes-support/icu/icu-3.6.inc | 4 | ||||
-rw-r--r-- | meta/recipes-support/libcap/libcap.inc | 8 | ||||
-rw-r--r-- | meta/recipes-support/neon/neon_0.29.6.bb | 2 | ||||
-rw-r--r-- | meta/recipes-support/shared-mime-info/shared-mime-info.inc | 4 | ||||
-rw-r--r-- | meta/recipes-support/sqlite/sqlite3.inc | 4 |
10 files changed, 26 insertions, 28 deletions
diff --git a/meta/recipes-support/apr/apr-util_1.4.1.bb b/meta/recipes-support/apr/apr-util_1.4.1.bb index 238af97a53..7ee3de5c08 100644 --- a/meta/recipes-support/apr/apr-util_1.4.1.bb +++ b/meta/recipes-support/apr/apr-util_1.4.1.bb | |||
@@ -37,10 +37,10 @@ do_configure_append() { | |||
37 | cp ${STAGING_DATADIR}/apr/apr_rules.mk ${S}/build/rules.mk | 37 | cp ${STAGING_DATADIR}/apr/apr_rules.mk ${S}/build/rules.mk |
38 | fi | 38 | fi |
39 | } | 39 | } |
40 | do_configure_prepend_virtclass-native() { | 40 | do_configure_prepend_class-native() { |
41 | cp ${STAGING_DATADIR_NATIVE}/apr/apr_rules.mk ${S}/build/rules.mk | 41 | cp ${STAGING_DATADIR_NATIVE}/apr/apr_rules.mk ${S}/build/rules.mk |
42 | } | 42 | } |
43 | do_configure_append_virtclass-native() { | 43 | do_configure_append_class-native() { |
44 | sed -i "s#LIBTOOL=\$(SHELL) \$(apr_builddir)#LIBTOOL=\$(SHELL) ${STAGING_BINDIR_NATIVE}#" ${S}/build/rules.mk | 44 | sed -i "s#LIBTOOL=\$(SHELL) \$(apr_builddir)#LIBTOOL=\$(SHELL) ${STAGING_BINDIR_NATIVE}#" ${S}/build/rules.mk |
45 | # sometimes there isn't SHELL | 45 | # sometimes there isn't SHELL |
46 | sed -i "s#LIBTOOL=\$(apr_builddir)#LIBTOOL=${STAGING_BINDIR_NATIVE}#" ${S}/build/rules.mk | 46 | sed -i "s#LIBTOOL=\$(apr_builddir)#LIBTOOL=${STAGING_BINDIR_NATIVE}#" ${S}/build/rules.mk |
diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc index 0f506bc3cb..bcc7acc745 100644 --- a/meta/recipes-support/attr/ea-acl.inc +++ b/meta/recipes-support/attr/ea-acl.inc | |||
@@ -9,7 +9,7 @@ inherit autotools gettext | |||
9 | # overwritten by autoheader | 9 | # overwritten by autoheader |
10 | export AUTOHEADER = "true" | 10 | export AUTOHEADER = "true" |
11 | EXTRA_OECONF = "INSTALL_USER=root INSTALL_GROUP=root" | 11 | EXTRA_OECONF = "INSTALL_USER=root INSTALL_GROUP=root" |
12 | EXTRA_OECONF_append_virtclass-native = " --enable-gettext=no" | 12 | EXTRA_OECONF_append_class-native = " --enable-gettext=no" |
13 | 13 | ||
14 | EXTRA_OEMAKE = "PKG_LIB_DIR=${base_libdir} PKG_DEVLIB_DIR=${libdir}" | 14 | EXTRA_OEMAKE = "PKG_LIB_DIR=${base_libdir} PKG_DEVLIB_DIR=${libdir}" |
15 | 15 | ||
@@ -55,4 +55,4 @@ fix_symlink () { | |||
55 | ln -sf ${libdir}/lib${BPN}.la ${base_libdir}/lib${BPN}.la | 55 | ln -sf ${libdir}/lib${BPN}.la ${base_libdir}/lib${BPN}.la |
56 | fi | 56 | fi |
57 | } | 57 | } |
58 | SSTATEPOSTINSTFUNCS_virtclass-native += "fix_symlink" | 58 | SSTATEPOSTINSTFUNCS_class-native += "fix_symlink" |
diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc index ec602a6cf4..36a94e10ea 100644 --- a/meta/recipes-support/boost/boost.inc +++ b/meta/recipes-support/boost/boost.inc | |||
@@ -7,7 +7,7 @@ DESCRIPTION = "Free peer-reviewed portable C++ source libraries" | |||
7 | HOMEPAGE = "http://www.boost.org/" | 7 | HOMEPAGE = "http://www.boost.org/" |
8 | SECTION = "libs" | 8 | SECTION = "libs" |
9 | DEPENDS = "boost-native zlib" | 9 | DEPENDS = "boost-native zlib" |
10 | DEPENDS_virtclass-native = "" | 10 | DEPENDS_class-native = "" |
11 | LICENSE = "BSL-1.0 & MIT & Python-2.0" | 11 | LICENSE = "BSL-1.0 & MIT & Python-2.0" |
12 | 12 | ||
13 | ARM_INSTRUCTION_SET = "arm" | 13 | ARM_INSTRUCTION_SET = "arm" |
@@ -73,7 +73,7 @@ FILES_${PN}-staticdev = "${libdir}/libboost_*.a" | |||
73 | # "boost" is a metapackage which pulls in all boost librabries | 73 | # "boost" is a metapackage which pulls in all boost librabries |
74 | PACKAGES += "${PN}" | 74 | PACKAGES += "${PN}" |
75 | RRECOMMENDS_${PN} += "${BOOST_PACKAGES}" | 75 | RRECOMMENDS_${PN} += "${BOOST_PACKAGES}" |
76 | RRECOMMENDS_${PN}_virtclass-native = "" | 76 | RRECOMMENDS_${PN}_class-native = "" |
77 | ALLOW_EMPTY_${PN} = "1" | 77 | ALLOW_EMPTY_${PN} = "1" |
78 | 78 | ||
79 | # to avoid GNU_HASH QA errors added LDFLAGS to ARCH; a little bit dirty but at least it works | 79 | # to avoid GNU_HASH QA errors added LDFLAGS to ARCH; a little bit dirty but at least it works |
@@ -176,15 +176,15 @@ do_install() { | |||
176 | 176 | ||
177 | BBCLASSEXTEND = "native" | 177 | BBCLASSEXTEND = "native" |
178 | 178 | ||
179 | do_configure_virtclass-native() { | 179 | do_configure_class-native() { |
180 | : | 180 | : |
181 | } | 181 | } |
182 | 182 | ||
183 | do_boostconfig_virtclass-native() { | 183 | do_boostconfig_class-native() { |
184 | : | 184 | : |
185 | } | 185 | } |
186 | 186 | ||
187 | do_compile_virtclass-native() { | 187 | do_compile_class-native() { |
188 | set -ex | 188 | set -ex |
189 | cd ${S}/tools/build/v2/engine | 189 | cd ${S}/tools/build/v2/engine |
190 | rm -rf bin.* | 190 | rm -rf bin.* |
@@ -194,7 +194,7 @@ do_compile_virtclass-native() { | |||
194 | # This is too terrible - the build script doesn't give any good | 194 | # This is too terrible - the build script doesn't give any good |
195 | # way I can see to find out where the binaries are placed, so | 195 | # way I can see to find out where the binaries are placed, so |
196 | # rely on only one bin.foo directory being created. | 196 | # rely on only one bin.foo directory being created. |
197 | do_install_virtclass-native () { | 197 | do_install_class-native () { |
198 | set -ex | 198 | set -ex |
199 | cd ${S}/tools/build/v2/engine | 199 | cd ${S}/tools/build/v2/engine |
200 | install -d ${D}${bindir}/ | 200 | install -d ${D}${bindir}/ |
diff --git a/meta/recipes-support/createrepo/createrepo_0.4.11.bb b/meta/recipes-support/createrepo/createrepo_0.4.11.bb index 344cc77770..8d2dcdf958 100644 --- a/meta/recipes-support/createrepo/createrepo_0.4.11.bb +++ b/meta/recipes-support/createrepo/createrepo_0.4.11.bb | |||
@@ -4,7 +4,7 @@ HOMEPAGE = "http://createrepo.baseurl.org/" | |||
4 | LICENSE = "GPLv2+" | 4 | LICENSE = "GPLv2+" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760" |
6 | 6 | ||
7 | RDEPENDS_${PN}_virtclass-native += "libxml2-native rpm-native" | 7 | RDEPENDS_${PN}_class-native += "libxml2-native rpm-native" |
8 | 8 | ||
9 | PR = "r7" | 9 | PR = "r7" |
10 | 10 | ||
@@ -28,7 +28,7 @@ do_install () { | |||
28 | # Wrap the python script since the native python is | 28 | # Wrap the python script since the native python is |
29 | # ${bindir}/python-native/python, and the "#! /usr/bin/env python" can't | 29 | # ${bindir}/python-native/python, and the "#! /usr/bin/env python" can't |
30 | # find it since it is not in PATH. | 30 | # find it since it is not in PATH. |
31 | do_install_append_virtclass-native () { | 31 | do_install_append_class-native () { |
32 | # Not all the python scripts should be wrapped since some of | 32 | # Not all the python scripts should be wrapped since some of |
33 | # them are modules (be imported). | 33 | # them are modules (be imported). |
34 | for i in ${D}${datadir}/createrepo/genpkgmetadata.py \ | 34 | for i in ${D}${datadir}/createrepo/genpkgmetadata.py \ |
diff --git a/meta/recipes-support/curl/curl_7.26.0.bb b/meta/recipes-support/curl/curl_7.26.0.bb index dad5572dff..9a0e7ce27e 100644 --- a/meta/recipes-support/curl/curl_7.26.0.bb +++ b/meta/recipes-support/curl/curl_7.26.0.bb | |||
@@ -6,8 +6,8 @@ LICENSE = "MIT" | |||
6 | LIC_FILES_CHKSUM = "file://COPYING;beginline=7;md5=3a34942f4ae3fbf1a303160714e664ac" | 6 | LIC_FILES_CHKSUM = "file://COPYING;beginline=7;md5=3a34942f4ae3fbf1a303160714e664ac" |
7 | 7 | ||
8 | DEPENDS = "zlib gnutls" | 8 | DEPENDS = "zlib gnutls" |
9 | DEPENDS_virtclass-native = "zlib-native openssl-native" | 9 | DEPENDS_class-native = "zlib-native openssl-native" |
10 | DEPENDS_virtclass-nativesdk = "nativesdk-zlib" | 10 | DEPENDS_class-nativesdk = "nativesdk-zlib" |
11 | PR = "r1" | 11 | PR = "r1" |
12 | 12 | ||
13 | SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \ | 13 | SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \ |
@@ -29,8 +29,8 @@ EXTRA_OECONF = "--with-zlib=${STAGING_LIBDIR}/../ \ | |||
29 | " | 29 | " |
30 | 30 | ||
31 | CURLGNUTLS = " --with-gnutls=${STAGING_LIBDIR}/../ --without-ssl" | 31 | CURLGNUTLS = " --with-gnutls=${STAGING_LIBDIR}/../ --without-ssl" |
32 | CURLGNUTLS_virtclass-native = "--without-gnutls --with-ssl" | 32 | CURLGNUTLS_class-native = "--without-gnutls --with-ssl" |
33 | CURLGNUTLS_virtclass-nativesdk = "--without-gnutls --without-ssl" | 33 | CURLGNUTLS_class-nativesdk = "--without-gnutls --without-ssl" |
34 | 34 | ||
35 | do_configure_prepend() { | 35 | do_configure_prepend() { |
36 | sed -i s:OPT_GNUTLS/bin:OPT_GNUTLS:g configure.ac | 36 | sed -i s:OPT_GNUTLS/bin:OPT_GNUTLS:g configure.ac |
diff --git a/meta/recipes-support/icu/icu-3.6.inc b/meta/recipes-support/icu/icu-3.6.inc index d969caa0ae..272f6d15ba 100644 --- a/meta/recipes-support/icu/icu-3.6.inc +++ b/meta/recipes-support/icu/icu-3.6.inc | |||
@@ -11,12 +11,12 @@ BASE_SRC_URI = "ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c- | |||
11 | SRC_URI = "${BASE_SRC_URI} \ | 11 | SRC_URI = "${BASE_SRC_URI} \ |
12 | file://noldlibpath.patch \ | 12 | file://noldlibpath.patch \ |
13 | " | 13 | " |
14 | SRC_URI_virtclass-native = "${BASE_SRC_URI}" | 14 | SRC_URI_class-native = "${BASE_SRC_URI}" |
15 | 15 | ||
16 | LICENSE = "ICU" | 16 | LICENSE = "ICU" |
17 | LIC_FILES_CHKSUM = "file://../license.html;md5=5c94767cedb5d6987c902ac850ded2c6" | 17 | LIC_FILES_CHKSUM = "file://../license.html;md5=5c94767cedb5d6987c902ac850ded2c6" |
18 | DEPENDS = "icu-native" | 18 | DEPENDS = "icu-native" |
19 | DEPENDS_virtclass-native = "" | 19 | DEPENDS_class-native = "" |
20 | 20 | ||
21 | S = "${WORKDIR}/icu/source" | 21 | S = "${WORKDIR}/icu/source" |
22 | 22 | ||
diff --git a/meta/recipes-support/libcap/libcap.inc b/meta/recipes-support/libcap/libcap.inc index 27552ad49b..7f16a569c8 100644 --- a/meta/recipes-support/libcap/libcap.inc +++ b/meta/recipes-support/libcap/libcap.inc | |||
@@ -7,8 +7,8 @@ LIC_FILES_CHKSUM = "file://License;md5=3f84fd6f29d453a56514cb7e4ead25f1" | |||
7 | 7 | ||
8 | DEPENDS = "attr perl-native-runtime" | 8 | DEPENDS = "attr perl-native-runtime" |
9 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | 9 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" |
10 | # attr and pam are disabled by EXTRA_OEMAKE_virtclass-native | 10 | # attr and pam are disabled by EXTRA_OEMAKE_class-native |
11 | DEPENDS_virtclass-native = "perl-native-runtime" | 11 | DEPENDS_class-native = "perl-native-runtime" |
12 | 12 | ||
13 | SRC_URI = "${DEBIAN_MIRROR}/main/libc/libcap2/${BPN}2_${PV}.orig.tar.gz" | 13 | SRC_URI = "${DEBIAN_MIRROR}/main/libc/libcap2/${BPN}2_${PV}.orig.tar.gz" |
14 | 14 | ||
@@ -23,15 +23,13 @@ do_configure() { | |||
23 | sed -e 's,BUILD_CFLAGS ?=,BUILD_CFLAGS := $(BUILD_CFLAGS),' -i Make.Rules | 23 | sed -e 's,BUILD_CFLAGS ?=,BUILD_CFLAGS := $(BUILD_CFLAGS),' -i Make.Rules |
24 | } | 24 | } |
25 | 25 | ||
26 | BUILD_LDFLAGS_virtclass_native += "-Wl,rpath=${base_libdir}" | ||
27 | |||
28 | EXTRA_OEMAKE = " \ | 26 | EXTRA_OEMAKE = " \ |
29 | LIBATTR=yes \ | 27 | LIBATTR=yes \ |
30 | PAM_CAP=${@base_contains('DISTRO_FEATURES', 'pam', 'yes', 'no', d)} \ | 28 | PAM_CAP=${@base_contains('DISTRO_FEATURES', 'pam', 'yes', 'no', d)} \ |
31 | INDENT= SYSTEM_HEADERS=${STAGING_INCDIR} RAISE_SETFCAP=no \ | 29 | INDENT= SYSTEM_HEADERS=${STAGING_INCDIR} RAISE_SETFCAP=no \ |
32 | lib=${@os.path.basename('${libdir}')} \ | 30 | lib=${@os.path.basename('${libdir}')} \ |
33 | " | 31 | " |
34 | EXTRA_OEMAKE_virtclass-native = " \ | 32 | EXTRA_OEMAKE_class-native = " \ |
35 | LIBATTR=no \ | 33 | LIBATTR=no \ |
36 | PAM_CAP=no \ | 34 | PAM_CAP=no \ |
37 | INDENT= \ | 35 | INDENT= \ |
diff --git a/meta/recipes-support/neon/neon_0.29.6.bb b/meta/recipes-support/neon/neon_0.29.6.bb index 170a47c9da..42d5e52fef 100644 --- a/meta/recipes-support/neon/neon_0.29.6.bb +++ b/meta/recipes-support/neon/neon_0.29.6.bb | |||
@@ -5,7 +5,7 @@ LICENSE = "LGPLv2+" | |||
5 | LIC_FILES_CHKSUM = "file://src/COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a \ | 5 | LIC_FILES_CHKSUM = "file://src/COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a \ |
6 | file://src/ne_utils.h;beginline=1;endline=20;md5=2caca609538eddaa6f6adf120a218037" | 6 | file://src/ne_utils.h;beginline=1;endline=20;md5=2caca609538eddaa6f6adf120a218037" |
7 | DEPENDS = "zlib libxml2 expat time gnutls libproxy" | 7 | DEPENDS = "zlib libxml2 expat time gnutls libproxy" |
8 | DEPENDS_virtclass-native = "zlib-native libxml2-native expat-native gnutls-native" | 8 | DEPENDS_class-native = "zlib-native libxml2-native expat-native gnutls-native" |
9 | 9 | ||
10 | PR = "r2" | 10 | PR = "r2" |
11 | 11 | ||
diff --git a/meta/recipes-support/shared-mime-info/shared-mime-info.inc b/meta/recipes-support/shared-mime-info/shared-mime-info.inc index d7fa67c4c2..93f6010f11 100644 --- a/meta/recipes-support/shared-mime-info/shared-mime-info.inc +++ b/meta/recipes-support/shared-mime-info/shared-mime-info.inc | |||
@@ -6,7 +6,7 @@ LICENSE = "LGPLv2+" | |||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
7 | 7 | ||
8 | DEPENDS = "libxml2 intltool-native glib-2.0 shared-mime-info-native" | 8 | DEPENDS = "libxml2 intltool-native glib-2.0 shared-mime-info-native" |
9 | DEPENDS_virtclass-native = "libxml2-native intltool-native glib-2.0-native" | 9 | DEPENDS_class-native = "libxml2-native intltool-native glib-2.0-native" |
10 | 10 | ||
11 | SRC_URI = "http://freedesktop.org/~hadess/shared-mime-info-${PV}.tar.xz" | 11 | SRC_URI = "http://freedesktop.org/~hadess/shared-mime-info-${PV}.tar.xz" |
12 | 12 | ||
@@ -29,7 +29,7 @@ do_install () { | |||
29 | update-mime-database ${D}${datadir}/mime | 29 | update-mime-database ${D}${datadir}/mime |
30 | } | 30 | } |
31 | 31 | ||
32 | do_install_virtclass-native () { | 32 | do_install_class-native () { |
33 | autotools_do_install | 33 | autotools_do_install |
34 | } | 34 | } |
35 | 35 | ||
diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc index 70841f88cb..e94c6ef8f0 100644 --- a/meta/recipes-support/sqlite/sqlite3.inc +++ b/meta/recipes-support/sqlite/sqlite3.inc | |||
@@ -2,13 +2,13 @@ DESCRIPTION = "An Embeddable SQL Database Engine" | |||
2 | HOMEPAGE = "http://www.sqlite.org" | 2 | HOMEPAGE = "http://www.sqlite.org" |
3 | SECTION = "libs" | 3 | SECTION = "libs" |
4 | DEPENDS = "readline ncurses" | 4 | DEPENDS = "readline ncurses" |
5 | DEPENDS_virtclass-native = "" | 5 | DEPENDS_class-native = "" |
6 | LICENSE = "PD" | 6 | LICENSE = "PD" |
7 | 7 | ||
8 | inherit autotools pkgconfig | 8 | inherit autotools pkgconfig |
9 | 9 | ||
10 | EXTRA_OECONF = "--disable-tcl --enable-shared --enable-threadsafe" | 10 | EXTRA_OECONF = "--disable-tcl --enable-shared --enable-threadsafe" |
11 | EXTRA_OECONF_virtclass-native = "--disable-tcl --enable-shared --enable-threadsafe --disable-readline --enable-tempstore" | 11 | EXTRA_OECONF_class-native = "--disable-tcl --enable-shared --enable-threadsafe --disable-readline --enable-tempstore" |
12 | export config_BUILD_CC = "${BUILD_CC}" | 12 | export config_BUILD_CC = "${BUILD_CC}" |
13 | export config_BUILD_CFLAGS = "${BUILD_CFLAGS}" | 13 | export config_BUILD_CFLAGS = "${BUILD_CFLAGS}" |
14 | export config_BUILD_LIBS = "${BUILD_LDFLAGS}" | 14 | export config_BUILD_LIBS = "${BUILD_LDFLAGS}" |