]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf: Allow BBINCLUDED to be unset
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Jun 2018 11:25:12 +0000 (12:25 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Jun 2018 11:26:33 +0000 (12:26 +0100)
For some reason the layer index is expanding HOSTTOOLS before BBINCLUDED is
set so recent changes break it. This adds in a simple workaround to stop it b
reaking allowing the index to function correctly again.

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

index fbf5669dddf5b90e4d4e54049ff62d5d060848b5..8f738545995cb8676d361762f34dab830570c0fc 100644 (file)
@@ -487,7 +487,7 @@ HOSTTOOLS += " \
 "
 
 # Tools needed to run testimage runtime image testing
-HOSTTOOLS += "${@'ip ping ps scp ssh stty' if (bb.utils.contains_any('IMAGE_CLASSES', 'testimage testsdk', True, False, d) or any(x in d.getVar("BBINCLUDED") for x in ["testimage.bbclass", "testsdk.bbclass"])) else ''}"
+HOSTTOOLS += "${@'ip ping ps scp ssh stty' if (bb.utils.contains_any('IMAGE_CLASSES', 'testimage testsdk', True, False, d) or any(x in (d.getVar("BBINCLUDED") or "") for x in ["testimage.bbclass", "testsdk.bbclass"])) else ''}"
 
 # Link to these if present
 HOSTTOOLS_NONFATAL += "aws ccache gcc-ar gpg ld.bfd ld.gold nc sftp socat ssh sudo"