glib-2.0: Add nativesdk depends for libffi

(From OE-Core rev: 8c78d1b3eec8089d67da03591e03a4583497580d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Saul Wold 2011-10-14 17:47:47 -07:00 committed by Richard Purdie
parent 997fdc68cc
commit 9da3cd473f
2 changed files with 4 additions and 3 deletions

View File

@ -1,10 +1,11 @@
require glib.inc
PR = "r1"
PR = "r2"
PE = "1"
DEPENDS += "libffi python-argparse-native"
DEPENDS_virtclass-native += "libffi-native python-argparse-native"
DEPENDS_virtclass-nativesdk += "libffi-nativesdk python-argparse-native zlib-nativesdk"
SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"

View File

@ -7,7 +7,7 @@ library really only provides the lowest, machine dependent layer of a fully feat
A layer must exist above `libffi' that handles type conversions for values passed between the two languages."
SRC_URI = "ftp://sourceware.org/pub/libffi/${BPN}-${PV}.tar.gz"
PR = "r1"
PR = "r2"
SRC_URI[md5sum] = "1f300a7a7f975d4046f51c3022fa5ff1"
SRC_URI[sha256sum] = "589d25152318bc780cd8919b14670793f4971d9838dab46ed38c32b3ee92c452"
@ -16,4 +16,4 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fa09cb778aaba64dc9eac37ab7e4e5d8"
inherit autotools
FILES_${PN}-dev += "${libdir}/libffi-${PV}"
BBCLASSEXTEND = "native"
BBCLASSEXTEND = "native nativesdk"