Re: [OE-core] [PATCH 2/2] package.bbclass, prserv.bbclass: Compare USE_PR_SERV with 1 or 0

2011-05-28 Thread Koen Kooi
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

Re: [OE-core] [PATCH 2/2] package.bbclass, prserv.bbclass: Compare USE_PR_SERV with 1 or 0

2011-05-28 Thread Martin Jansa
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

[OE-core] [PATCH 2/2] package.bbclass, prserv.bbclass: Compare USE_PR_SERV with 1 or 0

2011-05-27 Thread Khem Raj
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 |