]> code.ossystems Code Review - openembedded-core.git/commit
bitbake.conf: Set a dafault value for TUNE_PKGARCH
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 May 2014 14:55:02 +0000 (15:55 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 1 Jun 2014 13:28:35 +0000 (14:28 +0100)
commit106e9a3f594658b6a207f1f29bd4007616cc31d6
tree9a0f5e53adcc96254c2c52ee3cbc02429aa4bdfe
parentdb44be06c75f2ac17a55dd1764471e869e872b8b
bitbake.conf: Set a dafault value for TUNE_PKGARCH

If we don't do this, we see an exception:

ERROR: Failure expanding variable MACHINE_ARCH, expression was ${@[d.getVar('TUNE_PKGARCH', True),
d.getVar('MACHINE', True)][bool(d.getVar('MACHINE', True))].replace('-', '_')} which triggered
exception AttributeError: 'NoneType' object has no attribute 'replace'

Setting a default value avoids this error and allows the sanity checker
to trigger instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/bitbake.conf