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:
parent
065a9a6c3b
commit
552eea2cb1
|
@ -56,6 +56,8 @@ baselib = "lib"
|
||||||
export PKG_CONFIG_DIR = "${STAGING_DIR_HOST}${libdir}/pkgconfig"
|
export PKG_CONFIG_DIR = "${STAGING_DIR_HOST}${libdir}/pkgconfig"
|
||||||
export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}"
|
export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}"
|
||||||
|
|
||||||
|
PKGSUFFIX = "-nativesdk"
|
||||||
|
|
||||||
python nativesdk_virtclass_handler () {
|
python nativesdk_virtclass_handler () {
|
||||||
if not isinstance(e, bb.event.RecipePreFinalise):
|
if not isinstance(e, bb.event.RecipePreFinalise):
|
||||||
return
|
return
|
||||||
|
|
|
@ -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
|
# set "0" for qemu emulation of native localedef for locale generation
|
||||||
LOCALE_GENERATION_WITH_CROSS-LOCALEDEF = "1"
|
LOCALE_GENERATION_WITH_CROSS-LOCALEDEF = "1"
|
||||||
|
|
||||||
PR = "r19"
|
PR = "r20"
|
||||||
|
|
||||||
PKGSUFFIX = ""
|
PKGSUFFIX = ""
|
||||||
PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
|
PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
|
||||||
|
|
|
@ -3,7 +3,7 @@ require eglibc.inc
|
||||||
SRCREV = "15508"
|
SRCREV = "15508"
|
||||||
|
|
||||||
DEPENDS += "gperf-native"
|
DEPENDS += "gperf-native"
|
||||||
PR = "r21"
|
PR = "r22"
|
||||||
PR_append = "+svnr${SRCPV}"
|
PR_append = "+svnr${SRCPV}"
|
||||||
|
|
||||||
EGLIBC_BRANCH="eglibc-2_13"
|
EGLIBC_BRANCH="eglibc-2_13"
|
||||||
|
|
|
@ -3,7 +3,7 @@ require eglibc.inc
|
||||||
SRCREV = "16540"
|
SRCREV = "16540"
|
||||||
|
|
||||||
DEPENDS += "gperf-native"
|
DEPENDS += "gperf-native"
|
||||||
PR = "r1"
|
PR = "r2"
|
||||||
PR_append = "+svnr${SRCPV}"
|
PR_append = "+svnr${SRCPV}"
|
||||||
|
|
||||||
EGLIBC_BRANCH="eglibc-2_15"
|
EGLIBC_BRANCH="eglibc-2_15"
|
||||||
|
|
|
@ -11,7 +11,7 @@ DEPENDS_virtclass-native = "curl-native"
|
||||||
DEPENDS_virtclass-nativesdk = "curl-nativesdk"
|
DEPENDS_virtclass-nativesdk = "curl-nativesdk"
|
||||||
|
|
||||||
PE = "1"
|
PE = "1"
|
||||||
INC_PR = "r8"
|
INC_PR = "r9"
|
||||||
|
|
||||||
FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/opkg"
|
FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/opkg"
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ BBCLASSEXTEND = "native nativesdk"
|
||||||
#FIXME: remove the following
|
#FIXME: remove the following
|
||||||
ARM_INSTRUCTION_SET = "arm"
|
ARM_INSTRUCTION_SET = "arm"
|
||||||
|
|
||||||
PR = "r0"
|
PR = "r1"
|
||||||
|
|
||||||
SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2 \
|
SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2 \
|
||||||
file://fix-tstamp-declaration.patch"
|
file://fix-tstamp-declaration.patch"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
require sqlite3.inc
|
require sqlite3.inc
|
||||||
|
|
||||||
PR = "r1"
|
PR = "r2"
|
||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://sqlite3.h;endline=11;md5=65f0a57ca6928710b418c094b3570bb0"
|
LIC_FILES_CHKSUM = "file://sqlite3.h;endline=11;md5=65f0a57ca6928710b418c094b3570bb0"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue