]> code.ossystems Code Review - openembedded-core.git/commitdiff
qt4x11.bbclass: Using BPN instead of PN.
authorLianhao Lu <lianhao.lu@intel.com>
Fri, 5 Aug 2011 02:57:55 +0000 (10:57 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 5 Aug 2011 16:30:13 +0000 (17:30 +0100)
[YOCTO #1335] Using BPN instead of BP to decide the DEPENDS content for
multilib cases.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
meta/classes/qt4x11.bbclass

index abb1d9d2e40251a2236c82d1f99a503a5f71bf3a..ee2cdca3ad3588350e5b056c00920ef5f5fb8b4d 100644 (file)
@@ -1,4 +1,4 @@
-DEPENDS_prepend = "${@["qt4-x11-free ", ""][(bb.data.getVar('PN', d, 1)[:12] == 'qt4-x11-free')]}"
+DEPENDS_prepend = "${@["qt4-x11-free ", ""][(bb.data.getVar('BPN', d, True)[:12] == 'qt4-x11-free')]}"
 
 inherit qmake2