nativesdk/misc: set PKGSUFFIX for correct variable name expansion.

Set PKGSUFFIX in nativesdk.bbclass for correct variable name expansion.
This would fix bunch of "not shipped" packaging warnings in "-nativesdk"
recipes. And also bumping the corresponding PR.

(From OE-Core rev: c69268305e6f814800b64f3a4be724c40b41108c)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Lianhao Lu 2012-03-23 12:31:51 +08:00 committed by Richard Purdie
parent 065a9a6c3b
commit 552eea2cb1
7 changed files with 8 additions and 6 deletions

View File

@ -56,6 +56,8 @@ baselib = "lib"
export PKG_CONFIG_DIR = "${STAGING_DIR_HOST}${libdir}/pkgconfig"
export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}"
PKGSUFFIX = "-nativesdk"
python nativesdk_virtclass_handler () {
if not isinstance(e, bb.event.RecipePreFinalise):
return

View File

@ -26,7 +26,7 @@ BINARY_LOCALE_ARCHES ?= "arm.* i[3-6]86 x86_64 powerpc mips"
# set "0" for qemu emulation of native localedef for locale generation
LOCALE_GENERATION_WITH_CROSS-LOCALEDEF = "1"
PR = "r19"
PR = "r20"
PKGSUFFIX = ""
PKGSUFFIX_virtclass-nativesdk = "-nativesdk"

View File

@ -3,7 +3,7 @@ require eglibc.inc
SRCREV = "15508"
DEPENDS += "gperf-native"
PR = "r21"
PR = "r22"
PR_append = "+svnr${SRCPV}"
EGLIBC_BRANCH="eglibc-2_13"

View File

@ -3,7 +3,7 @@ require eglibc.inc
SRCREV = "16540"
DEPENDS += "gperf-native"
PR = "r1"
PR = "r2"
PR_append = "+svnr${SRCPV}"
EGLIBC_BRANCH="eglibc-2_15"

View File

@ -11,7 +11,7 @@ DEPENDS_virtclass-native = "curl-native"
DEPENDS_virtclass-nativesdk = "curl-nativesdk"
PE = "1"
INC_PR = "r8"
INC_PR = "r9"
FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/opkg"

View File

@ -14,7 +14,7 @@ BBCLASSEXTEND = "native nativesdk"
#FIXME: remove the following
ARM_INSTRUCTION_SET = "arm"
PR = "r0"
PR = "r1"
SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2 \
file://fix-tstamp-declaration.patch"

View File

@ -1,6 +1,6 @@
require sqlite3.inc
PR = "r1"
PR = "r2"
LIC_FILES_CHKSUM = "file://sqlite3.h;endline=11;md5=65f0a57ca6928710b418c094b3570bb0"