Op 28 mei 2011, om 04:44 heeft Khem Raj het volgende geschreven:
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
On Sat, May 28, 2011 at 09:50:09AM +0200, Koen Kooi wrote:
Op 28 mei 2011, om 04:44 heeft Khem Raj het volgende geschreven:
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
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.k...@gmail.com
---
meta/classes/package.bbclass |