summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-22 17:43:33 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-02 05:52:06 -0700
commitad23395cd1f6c0cbfcc6980b6071d589f9f6cde0 (patch)
tree9965e27a93c73af1ccf9cdb24c588faabc90370a /meta/recipes-devtools
parent58a8a38aa294edb74dde70d70a7e5faf49444b78 (diff)
downloadpoky-ad23395cd1f6c0cbfcc6980b6071d589f9f6cde0.tar.gz
nativesdk: Switch to using nativesdk as a prefix, not a suffix
As discussed on the mailing lists, using a suffix to package names is hard and has lead to many recipes having to do PKGSUFFIX games. Its looking extremely hard to scale nativesdk much further without hacking many recipes. By comparison, using a prefix like multilib does works much better and doesn't involve "hacking" as many recipes. This change converts nativesdk to use a prefix using the existing multilib infrastructure. (From OE-Core rev: 81813c0e322dc04ce4b069117188d8a54dfddb8c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/autoconf/autoconf.inc4
-rw-r--r--meta/recipes-devtools/automake/automake_1.12.1.bb2
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross-canadian.inc2
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian.inc2
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian_4.7.bb4
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk.inc2
-rw-r--r--meta/recipes-devtools/gcc/libgcc_4.7.bb9
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross-canadian.inc7
-rw-r--r--meta/recipes-devtools/gnu-config/gnu-config_20111111.bb2
-rw-r--r--meta/recipes-devtools/gnu-config/gnu-config_git.bb2
-rwxr-xr-xmeta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal8
-rw-r--r--meta/recipes-devtools/opkg/opkg.inc15
-rw-r--r--meta/recipes-devtools/perl/perl_5.14.2.bb2
-rw-r--r--meta/recipes-devtools/python/python_2.7.3.bb9
-rw-r--r--meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb (renamed from meta/recipes-devtools/qemu/qemu-helper-nativesdk_1.0.bb)2
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc6
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server_2.1+2.2beta47.bb4
17 files changed, 38 insertions, 44 deletions
diff --git a/meta/recipes-devtools/autoconf/autoconf.inc b/meta/recipes-devtools/autoconf/autoconf.inc
index 4f5a5b2a46..e80a83410e 100644
--- a/meta/recipes-devtools/autoconf/autoconf.inc
+++ b/meta/recipes-devtools/autoconf/autoconf.inc
@@ -7,10 +7,10 @@ HOMEPAGE = "http://www.gnu.org/software/autoconf/"
7SECTION = "devel" 7SECTION = "devel"
8DEPENDS += "m4-native" 8DEPENDS += "m4-native"
9DEPENDS_virtclass-native = "m4-native gnu-config-native" 9DEPENDS_virtclass-native = "m4-native gnu-config-native"
10DEPENDS_virtclass-nativesdk = "m4-nativesdk gnu-config-nativesdk" 10DEPENDS_virtclass-nativesdk = "nativesdk-m4 nativesdk-gnu-config"
11RDEPENDS_${PN} = "m4 gnu-config" 11RDEPENDS_${PN} = "m4 gnu-config"
12RDEPENDS_${PN}_virtclass-native = "m4-native gnu-config-native" 12RDEPENDS_${PN}_virtclass-native = "m4-native gnu-config-native"
13RDEPENDS_${PN}_virtclass-nativesdk = "m4-nativesdk gnu-config-nativesdk" 13RDEPENDS_${PN}_virtclass-nativesdk = "nativesdk-m4 nativesdk-gnu-config"
14 14
15SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.gz \ 15SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.gz \
16 file://program_prefix.patch" 16 file://program_prefix.patch"
diff --git a/meta/recipes-devtools/automake/automake_1.12.1.bb b/meta/recipes-devtools/automake/automake_1.12.1.bb
index 2a97bcc9aa..700592c6c9 100644
--- a/meta/recipes-devtools/automake/automake_1.12.1.bb
+++ b/meta/recipes-devtools/automake/automake_1.12.1.bb
@@ -28,7 +28,7 @@ RDEPENDS_${PN} += "\
28 perl-module-vars " 28 perl-module-vars "
29 29
30RDEPENDS_${PN}_virtclass-native = "autoconf-native perl-native-runtime" 30RDEPENDS_${PN}_virtclass-native = "autoconf-native perl-native-runtime"
31RDEPENDS_${PN}_virtclass-nativesdk = "autoconf-nativesdk" 31RDEPENDS_${PN}_virtclass-nativesdk = "nativesdk-autoconf"
32 32
33PATHFIXPATCH = "file://path_prog_fixes.patch" 33PATHFIXPATCH = "file://path_prog_fixes.patch"
34PATHFIXPATCH_virtclass-native = "" 34PATHFIXPATCH_virtclass-native = ""
diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
index a23531ca23..4658badfa6 100644
--- a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
+++ b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
@@ -4,7 +4,7 @@ DESCRIPTION = "A GNU collection of cross-canadian binary utilities for ${TARGET_
4PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}" 4PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}"
5BPN = "binutils" 5BPN = "binutils"
6 6
7DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk" 7DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/nativesdk-libc nativesdk-zlib nativesdk-gettext"
8EXTRA_OECONF += "--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \ 8EXTRA_OECONF += "--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \
9 " 9 "
10do_install () { 10do_install () {
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
index cc0a3badb9..ef861ae6cb 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
@@ -4,5 +4,5 @@ DESCRIPTION = "The cross-canadian GNU cc and gcc C compilers for ${TARGET_ARCH}
4PN = "gcc-cross-canadian-${TRANSLATED_TARGET_ARCH}" 4PN = "gcc-cross-canadian-${TRANSLATED_TARGET_ARCH}"
5BPN = "gcc" 5BPN = "gcc"
6 6
7DEPENDS = "virtual/${HOST_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc gettext-nativesdk" 7DEPENDS = "virtual/${HOST_PREFIX}binutils-crosssdk virtual/nativesdk-${HOST_PREFIX}libc-for-gcc gettext"
8 8
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian_4.7.bb b/meta/recipes-devtools/gcc/gcc-cross-canadian_4.7.bb
index 308e6f5234..53c463264f 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian_4.7.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian_4.7.bb
@@ -5,8 +5,8 @@ require gcc-cross-canadian.inc
5require gcc-configure-sdk.inc 5require gcc-configure-sdk.inc
6require gcc-package-sdk.inc 6require gcc-package-sdk.inc
7 7
8DEPENDS += "gmp-nativesdk mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk" 8DEPENDS += "nativesdk-gmp nativesdk-mpfr nativesdk-libmpc nativesdk-elfutils"
9RDEPENDS_${PN} += "mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk" 9RDEPENDS_${PN} += "nativesdk-mpfr nativesdk-libmpc nativesdk-elfutils"
10 10
11SYSTEMHEADERS = "/usr/include" 11SYSTEMHEADERS = "/usr/include"
12SYSTEMLIBS = "${target_base_libdir}/" 12SYSTEMLIBS = "${target_base_libdir}/"
diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk.inc b/meta/recipes-devtools/gcc/gcc-crosssdk.inc
index 0fd82a6fdf..467a3f5d43 100644
--- a/meta/recipes-devtools/gcc/gcc-crosssdk.inc
+++ b/meta/recipes-devtools/gcc/gcc-crosssdk.inc
@@ -6,5 +6,5 @@ SYSTEMLIBS1 = "${SDKPATHNATIVE}${libdir_nativesdk}/"
6 6
7GCCMULTILIB = "--disable-multilib" 7GCCMULTILIB = "--disable-multilib"
8 8
9DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc-nativesdk gettext-native" 9DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk virtual/nativesdk-${TARGET_PREFIX}libc-for-gcc gettext-native"
10PROVIDES = "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk" 10PROVIDES = "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk"
diff --git a/meta/recipes-devtools/gcc/libgcc_4.7.bb b/meta/recipes-devtools/gcc/libgcc_4.7.bb
index c796253c82..5eaa515570 100644
--- a/meta/recipes-devtools/gcc/libgcc_4.7.bb
+++ b/meta/recipes-devtools/gcc/libgcc_4.7.bb
@@ -4,14 +4,11 @@ INHIBIT_DEFAULT_DEPS = "1"
4 4
5DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" 5DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
6 6
7PKGSUFFIX = ""
8PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
9
10PACKAGES = "\ 7PACKAGES = "\
11 ${PN} \ 8 ${PN} \
12 ${PN}-dev \ 9 ${PN}-dev \
13 ${PN}-dbg \ 10 ${PN}-dbg \
14 libgcov${PKGSUFFIX}-dev \ 11 libgcov-dev \
15 " 12 "
16 13
17FILES_${PN} = "${base_libdir}/libgcc*.so.*" 14FILES_${PN} = "${base_libdir}/libgcc*.so.*"
@@ -19,7 +16,7 @@ FILES_${PN}-dev = " \
19 ${base_libdir}/libgcc*.so \ 16 ${base_libdir}/libgcc*.so \
20 ${libdir}/${TARGET_SYS}/${BINV}/*crt* \ 17 ${libdir}/${TARGET_SYS}/${BINV}/*crt* \
21 ${libdir}/${TARGET_SYS}/${BINV}/libgcc*" 18 ${libdir}/${TARGET_SYS}/${BINV}/libgcc*"
22FILES_libgcov${PKGSUFFIX}-dev = " \ 19FILES_libgcov-dev = " \
23 ${libdir}/${TARGET_SYS}/${BINV}/libgcov.a \ 20 ${libdir}/${TARGET_SYS}/${BINV}/libgcov.a \
24 " 21 "
25FILES_${PN}-dbg += "${base_libdir}/.debug/" 22FILES_${PN}-dbg += "${base_libdir}/.debug/"
@@ -72,4 +69,4 @@ do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_package"
72BBCLASSEXTEND = "nativesdk" 69BBCLASSEXTEND = "nativesdk"
73 70
74INSANE_SKIP_${PN}-dev = "staticdev" 71INSANE_SKIP_${PN}-dev = "staticdev"
75INSANE_SKIP_${MLPREFIX}libgcov${PKGSUFFIX}-dev = "staticdev" 72INSANE_SKIP_${MLPREFIX}libgcov-dev = "staticdev"
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
index 2b6069883e..c947526e82 100644
--- a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
@@ -5,9 +5,9 @@ DESCRIPTION = "cross-canadian gdb for ${TARGET_ARCH} target - GNU debugger"
5PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}" 5PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}"
6BPN = "gdb" 6BPN = "gdb"
7 7
8DEPENDS = "ncurses-nativesdk expat-nativesdk gettext-nativesdk readline-nativesdk python-nativesdk" 8DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext nativesdk-readline nativesdk-python"
9RDEPENDS += "python-nativesdk-core python-nativesdk-lang python-nativesdk-re \ 9RDEPENDS += "nativesdk-python-core nativesdk-python-lang nativesdk-python-re \
10 python-nativesdk-codecs python-nativesdk-netclient" 10 nativesdk-python-codecs nativesdk-python-netclient"
11 11
12EXTRA_OECONF_append = "--with-python=${WORKDIR}/python" 12EXTRA_OECONF_append = "--with-python=${WORKDIR}/python"
13 13
@@ -30,3 +30,4 @@ EOF
30do_install_append() { 30do_install_append() {
31 rm -rf ${D}${exec_prefix}/lib 31 rm -rf ${D}${exec_prefix}/lib
32} 32}
33
diff --git a/meta/recipes-devtools/gnu-config/gnu-config_20111111.bb b/meta/recipes-devtools/gnu-config/gnu-config_20111111.bb
index d4588daa81..f7313609a9 100644
--- a/meta/recipes-devtools/gnu-config/gnu-config_20111111.bb
+++ b/meta/recipes-devtools/gnu-config/gnu-config_20111111.bb
@@ -28,7 +28,7 @@ do_install () {
28 sed -e 's,@gnu-configdir@,${datadir}/gnu-config,g' \ 28 sed -e 's,@gnu-configdir@,${datadir}/gnu-config,g' \
29 -e 's,@autom4te_perllibdir@,${datadir}/autoconf,g' > ${D}${bindir}/gnu-configize 29 -e 's,@autom4te_perllibdir@,${datadir}/autoconf,g' > ${D}${bindir}/gnu-configize
30 # In the native case we want the system perl as perl-native can't have built yet 30 # In the native case we want the system perl as perl-native can't have built yet
31 if [ "${PN}" != "gnu-config-native" -a "${PN}" != "gnu-config-nativesdk" ]; then 31 if [ "${PN}" != "gnu-config-native" -a "${PN}" != "nativesdk-gnu-config" ]; then
32 sed -i -e 's,/usr/bin/env,${bindir}/env,g' ${D}${bindir}/gnu-configize 32 sed -i -e 's,/usr/bin/env,${bindir}/env,g' ${D}${bindir}/gnu-configize
33 fi 33 fi
34 chmod 755 ${D}${bindir}/gnu-configize 34 chmod 755 ${D}${bindir}/gnu-configize
diff --git a/meta/recipes-devtools/gnu-config/gnu-config_git.bb b/meta/recipes-devtools/gnu-config/gnu-config_git.bb
index 4de479915b..73efbb0f91 100644
--- a/meta/recipes-devtools/gnu-config/gnu-config_git.bb
+++ b/meta/recipes-devtools/gnu-config/gnu-config_git.bb
@@ -29,7 +29,7 @@ do_install () {
29 sed -e 's,@gnu-configdir@,${datadir}/gnu-config,g' \ 29 sed -e 's,@gnu-configdir@,${datadir}/gnu-config,g' \
30 -e 's,@autom4te_perllibdir@,${datadir}/autoconf,g' > ${D}${bindir}/gnu-configize 30 -e 's,@autom4te_perllibdir@,${datadir}/autoconf,g' > ${D}${bindir}/gnu-configize
31 # In the native case we want the system perl as perl-native can't have built yet 31 # In the native case we want the system perl as perl-native can't have built yet
32 if [ "${PN}" != "gnu-config-native" -a "${PN}" != "gnu-config-nativesdk" ]; then 32 if [ "${PN}" != "gnu-config-native" -a "${PN}" != "nativesdk-gnu-config" ]; then
33 sed -i -e 's,/usr/bin/env,${bindir}/env,g' ${D}${bindir}/gnu-configize 33 sed -i -e 's,/usr/bin/env,${bindir}/env,g' ${D}${bindir}/gnu-configize
34 fi 34 fi
35 chmod 755 ${D}${bindir}/gnu-configize 35 chmod 755 ${D}${bindir}/gnu-configize
diff --git a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
index a540c0d8ff..78ea6d0514 100755
--- a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
+++ b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
@@ -117,7 +117,7 @@ OPKG_INSTALL_NATIVE_CMD="$OPKG_INSTALL_CMD -f $OPKG_CONFIG_FILE -o $NATIVE_INST
117BASE_HOSTSDK_PKGNAMES="pseudo opkg pkgconfig libtool autoconf automake" 117BASE_HOSTSDK_PKGNAMES="pseudo opkg pkgconfig libtool autoconf automake"
118for pkg in $BASE_HOSTSDK_PKGNAMES; do 118for pkg in $BASE_HOSTSDK_PKGNAMES; do
119 echo_info "Installing ${pkg} nativesdk ...\n" 119 echo_info "Installing ${pkg} nativesdk ...\n"
120 $OPKG_INSTALL_NATIVE_CMD ${pkg}-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE 120 $OPKG_INSTALL_NATIVE_CMD nativesdk-${pkg} &>> $YOCTOADT_INSTALL_LOG_FILE
121 check_result 121 check_result
122done 122done
123 123
@@ -142,15 +142,15 @@ done
142 142
143if [ "$YOCTOADT_QEMU" == "Y" ] || [ "$YOCTOADT_QEMU" = "y" ]; then 143if [ "$YOCTOADT_QEMU" == "Y" ] || [ "$YOCTOADT_QEMU" = "y" ]; then
144 echo_info "\nInstalling qemu native ..." 144 echo_info "\nInstalling qemu native ..."
145 $OPKG_INSTALL_NATIVE_CMD qemu-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE 145 $OPKG_INSTALL_NATIVE_CMD nativesdk-qemu &>> $YOCTOADT_INSTALL_LOG_FILE
146 check_result 146 check_result
147 $OPKG_INSTALL_NATIVE_CMD qemu-helper-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE 147 $OPKG_INSTALL_NATIVE_CMD nativesdk-qemu-helper &>> $YOCTOADT_INSTALL_LOG_FILE
148 check_result 148 check_result
149fi 149fi
150 150
151if [ "$YOCTOADT_NFS_UTIL" == "Y" ] || [ "$YOCTOADT_NFS_UTIL" == "y" ]; then 151if [ "$YOCTOADT_NFS_UTIL" == "Y" ] || [ "$YOCTOADT_NFS_UTIL" == "y" ]; then
152 echo_info "\nInstalling unfs ..." 152 echo_info "\nInstalling unfs ..."
153 $OPKG_INSTALL_NATIVE_CMD unfs-server-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE 153 $OPKG_INSTALL_NATIVE_CMD nativesdk-unfs-server &>> $YOCTOADT_INSTALL_LOG_FILE
154 check_result 154 check_result
155fi 155fi
156 156
diff --git a/meta/recipes-devtools/opkg/opkg.inc b/meta/recipes-devtools/opkg/opkg.inc
index 5c7cad3665..10cd9d8f30 100644
--- a/meta/recipes-devtools/opkg/opkg.inc
+++ b/meta/recipes-devtools/opkg/opkg.inc
@@ -8,7 +8,7 @@ LICENSE = "GPLv2+"
8LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ 8LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
9 file://src/opkg-cl.c;beginline=1;endline=20;md5=321f658c3f6b6c832e25c8850b5dffba" 9 file://src/opkg-cl.c;beginline=1;endline=20;md5=321f658c3f6b6c832e25c8850b5dffba"
10DEPENDS_virtclass-native = "curl-native" 10DEPENDS_virtclass-native = "curl-native"
11DEPENDS_virtclass-nativesdk = "curl-nativesdk" 11DEPENDS_virtclass-nativesdk = "nativesdk-curl"
12 12
13PE = "1" 13PE = "1"
14INC_PR = "r10" 14INC_PR = "r10"
@@ -41,12 +41,12 @@ RDEPENDS_${PN}_virtclass-nativesdk = ""
41PACKAGE_ARCH_update-alternatives-cworth = "all" 41PACKAGE_ARCH_update-alternatives-cworth = "all"
42RREPLACES_${PN} = "opkg-nogpg" 42RREPLACES_${PN} = "opkg-nogpg"
43 43
44PACKAGES =+ "libopkg${PKGSUFFIX}-dev libopkg${PKGSUFFIX}-staticdev libopkg${PKGSUFFIX} update-alternatives-cworth${PKGSUFFIX}" 44PACKAGES =+ "libopkg-dev libopkg-staticdev libopkg update-alternatives-cworth"
45 45
46FILES_update-alternatives-cworth${PKGSUFFIX} = "${bindir}/update-alternatives" 46FILES_update-alternatives-cworth = "${bindir}/update-alternatives"
47FILES_libopkg${PKGSUFFIX}-dev = "${libdir}/*.la ${libdir}/*.so" 47FILES_libopkg-dev = "${libdir}/*.la ${libdir}/*.so"
48FILES_libopkg${PKGSUFFIX}-staticdev = "${libdir}/*.a" 48FILES_libopkg-staticdev = "${libdir}/*.a"
49FILES_libopkg${PKGSUFFIX} = "${libdir}/*.so.* ${localstatedir}/lib/opkg/" 49FILES_libopkg = "${libdir}/*.so.* ${localstatedir}/lib/opkg/"
50 50
51# We need to create the lock directory 51# We need to create the lock directory
52do_install_append() { 52do_install_append() {
@@ -75,9 +75,6 @@ ALTERNATIVE_TARGET[opkg] = "${bindir}/opkg-cl"
75 75
76BBCLASSEXTEND = "native nativesdk" 76BBCLASSEXTEND = "native nativesdk"
77 77
78PKGSUFFIX = ""
79PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
80
81# Define a variable to allow distros to run configure earlier. 78# Define a variable to allow distros to run configure earlier.
82# (for example, to enable loading of ethernet kernel modules before networking starts) 79# (for example, to enable loading of ethernet kernel modules before networking starts)
83POSTINSTALL_INITPOSITION ?= "98" 80POSTINSTALL_INITPOSITION ?= "98"
diff --git a/meta/recipes-devtools/perl/perl_5.14.2.bb b/meta/recipes-devtools/perl/perl_5.14.2.bb
index 561b30ed18..9db38055cb 100644
--- a/meta/recipes-devtools/perl/perl_5.14.2.bb
+++ b/meta/recipes-devtools/perl/perl_5.14.2.bb
@@ -302,6 +302,7 @@ python populate_packages_prepend () {
302} 302}
303 303
304PACKAGES_DYNAMIC = "perl-module-*" 304PACKAGES_DYNAMIC = "perl-module-*"
305PACKAGES_DYNAMIC_virtclass-nativesdk = "nativesdk-perl-module-*"
305 306
306RPROVIDES_perl-lib = "perl-lib" 307RPROVIDES_perl-lib = "perl-lib"
307 308
@@ -311,3 +312,4 @@ require perl-rprovides_${PV}.inc
311 312
312SSTATE_SCAN_FILES += "*.pm *.pod *.h *.pl *.sh" 313SSTATE_SCAN_FILES += "*.pm *.pod *.h *.pl *.sh"
313 314
315BBCLASSEXTEND = "nativesdk"
diff --git a/meta/recipes-devtools/python/python_2.7.3.bb b/meta/recipes-devtools/python/python_2.7.3.bb
index 9c648fec15..3eb36fc9aa 100644
--- a/meta/recipes-devtools/python/python_2.7.3.bb
+++ b/meta/recipes-devtools/python/python_2.7.3.bb
@@ -148,11 +148,11 @@ require python-${PYTHON_MAJMIN}-manifest.inc
148RPROVIDES_${PN}-core = "${PN}" 148RPROVIDES_${PN}-core = "${PN}"
149RRECOMMENDS_${PN}-core = "${PN}-readline" 149RRECOMMENDS_${PN}-core = "${PN}-readline"
150RRECOMMENDS_${PN}-crypt = "openssl" 150RRECOMMENDS_${PN}-crypt = "openssl"
151RRECOMMENDS_${PN}-crypt_virtclass-nativesdk = "openssl-nativesdk" 151RRECOMMENDS_${PN}-crypt_virtclass-nativesdk = "nativesdk-openssl"
152 152
153# package libpython2 153# package libpython2
154PACKAGES =+ "lib${BPN}2${PKGSUFFIX}" 154PACKAGES =+ "lib${BPN}2"
155FILES_lib${BPN}2${PKGSUFFIX} = "${libdir}/libpython*.so.*" 155FILES_lib${BPN}2 = "${libdir}/libpython*.so.*"
156 156
157# catch debug extensions (isn't that already in python-core-dbg?) 157# catch debug extensions (isn't that already in python-core-dbg?)
158FILES_${PN}-dbg += "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/.debug" 158FILES_${PN}-dbg += "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/.debug"
@@ -166,6 +166,3 @@ PACKAGES += "${PN}-man"
166FILES_${PN}-man = "${datadir}/man" 166FILES_${PN}-man = "${datadir}/man"
167 167
168BBCLASSEXTEND = "nativesdk" 168BBCLASSEXTEND = "nativesdk"
169
170PKGSUFFIX = ""
171PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
diff --git a/meta/recipes-devtools/qemu/qemu-helper-nativesdk_1.0.bb b/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb
index df0cae068e..fbf9e771df 100644
--- a/meta/recipes-devtools/qemu/qemu-helper-nativesdk_1.0.bb
+++ b/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb
@@ -1,7 +1,7 @@
1SUMMARY = "Qemu helper scripts" 1SUMMARY = "Qemu helper scripts"
2DESCRIPTION = "Qemu helper scripts" 2DESCRIPTION = "Qemu helper scripts"
3LICENSE = "GPLv2" 3LICENSE = "GPLv2"
4RDEPENDS_${PN} = "qemu-nativesdk" 4RDEPENDS_${PN} = "nativesdk-qemu"
5PR = "r9" 5PR = "r9"
6 6
7FILESPATH = "${FILE_DIRNAME}/qemu-helper" 7FILESPATH = "${FILE_DIRNAME}/qemu-helper"
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 9cb4aee458..bdb566d88f 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -22,7 +22,7 @@ inherit autotools
22do_configure() { 22do_configure() {
23 # Handle distros such as CentOS 5 32-bit that do not have kvm support 23 # Handle distros such as CentOS 5 32-bit that do not have kvm support
24 KVMOPTS="--disable-kvm" 24 KVMOPTS="--disable-kvm"
25 if [ "${PN}" != "qemu-native" -a "${PN}" != "qemu-nativesdk" ] \ 25 if [ "${PN}" != "qemu-native" -a "${PN}" != "nativesdk-qemu" ] \
26 || [ -f /usr/include/linux/kvm.h ] ; then 26 || [ -f /usr/include/linux/kvm.h ] ; then
27 KVMOPTS="--enable-kvm" 27 KVMOPTS="--enable-kvm"
28 fi 28 fi
@@ -41,8 +41,8 @@ do_install () {
41PACKAGECONFIG ??= "" 41PACKAGECONFIG ??= ""
42 42
43DEPENDS_virtclass-native = "zlib-native alsa-lib-native glib-2.0-native" 43DEPENDS_virtclass-native = "zlib-native alsa-lib-native glib-2.0-native"
44DEPENDS_virtclass-nativesdk = "zlib-nativesdk libsdl-nativesdk glib-2.0-nativesdk" 44DEPENDS_virtclass-nativesdk = "nativesdk-zlib nativesdk-libsdl nativesdk-glib-2.0"
45RDEPENDS_virtclass-nativesdk = "libsdl-nativesdk" 45RDEPENDS_virtclass-nativesdk = "nativesdk-libsdl"
46EXTRA_OECONF_virtclass-nativesdk = "--target-list=${@get_qemu_target_list(d)} --disable-werror --disable-vnc-tls \ 46EXTRA_OECONF_virtclass-nativesdk = "--target-list=${@get_qemu_target_list(d)} --disable-werror --disable-vnc-tls \
47 --disable-curl \ 47 --disable-curl \
48 " 48 "
diff --git a/meta/recipes-devtools/unfs-server/unfs-server_2.1+2.2beta47.bb b/meta/recipes-devtools/unfs-server/unfs-server_2.1+2.2beta47.bb
index d03c153298..7480638889 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server_2.1+2.2beta47.bb
+++ b/meta/recipes-devtools/unfs-server/unfs-server_2.1+2.2beta47.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
5 5
6RDEPENDS_${PN} = "pseudo" 6RDEPENDS_${PN} = "pseudo"
7RDEPENDS_${PN}_virtclass-native = "pseudo-native" 7RDEPENDS_${PN}_virtclass-native = "pseudo-native"
8RDEPENDS_${PN}_virtclass-nativesdk = "pseudo-nativesdk" 8RDEPENDS_${PN}_virtclass-nativesdk = "nativesdk-pseudo"
9BASEPV = "2.2beta47" 9BASEPV = "2.2beta47"
10PR = "r1" 10PR = "r1"
11 11
@@ -73,6 +73,6 @@ python __anonymous () {
73 import re 73 import re
74 74
75 pn = d.getVar("PN", True) 75 pn = d.getVar("PN", True)
76 if not pn.endswith('-native') and not pn.endswith('-nativesdk'): 76 if not pn.endswith('-native') and not pn.startswith('nativesdk-'):
77 raise bb.parse.SkipPackage("unfs-server is intended for native/nativesdk builds only") 77 raise bb.parse.SkipPackage("unfs-server is intended for native/nativesdk builds only")
78} 78}