]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass,prserv.bbclass: Compare USE_PR_SERV with "1" or "0"
authorKhem Raj <raj.khem@gmail.com>
Sat, 28 May 2011 01:27:47 +0000 (18:27 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 29 May 2011 08:39:57 +0000 (09:39 +0100)
commit5f6179324ac3956ad87123005bfcab4e8f30e67b
tree7ca28345a3ca829ce409ef5258bfeccc906334fc
parente6f7e11f4ec40582d6343ec3a97f62cae1574344
package.bbclass,prserv.bbclass: Compare USE_PR_SERV with "1" or "0"

Value of USE_PR_SERV is either "1" or "0" looking at
settings in bitbake.conf
USE_PR_SERV = "${@[1,0][(bb.data.getVar('PRSERV_HOST',d,1) is None) or (bb.data.getVar('PRSERV_PORT',d,1) is None)]}"
So we compare the strings

Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/classes/package.bbclass
meta/classes/prserv.bbclass