]> code.ossystems Code Review - openembedded-core.git/commit
bitbake.conf: fix HOSTTOOLS setting related to image testing
authorChen Qi <Qi.Chen@windriver.com>
Fri, 1 Jun 2018 05:03:09 +0000 (13:03 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Jun 2018 14:14:43 +0000 (15:14 +0100)
commit263f8ad612674b0b47cd980212556332c17cb370
treeaa5eb557bd9c11cc9d169186828f2a25ed5a3772
parentbc6839394c06bb695b92b2183337e7381da1e86c
bitbake.conf: fix HOSTTOOLS setting related to image testing

A list of tools are added to HOSTTOOLS depending on if we inherit
testimage or not. Unfortunately, if we use TEST_IMAGE variable to
automate the test, these tools are not added to HOSTTOOLS.

Modify the condition to also check TEST_IMAGE to fix the above problem.

Also, change to use if...else... instead of list index for such setting.

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