]> 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, 2 Jul 2018 09:40:35 +0000 (10:40 +0100)
commitd2701a747209b99e816655eb5f70a2bf666c4314
tree72b3314967cd055071d8d31f43d1811a2300522d
parent55eed10368da6b3179e3ad1ab9322cff32fa99cf
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.

(From OE-Core rev: 263f8ad612674b0b47cd980212556332c17cb370)

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