]> code.ossystems Code Review - openembedded-core.git/commit
base.bbclass: ensure HOSTTOOLS links point to executables
authorRoss Burton <ross.burton@intel.com>
Thu, 30 Mar 2017 13:34:10 +0000 (14:34 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Mar 2017 15:43:19 +0000 (16:43 +0100)
commit7f40c934c3aeb1d34f95f30b281e25a17c428fce
tree0f697acf36032edb371fdbb8ff82cbfe47884798
parent398fd35bfc2b4795067e25659841adaeea211809
base.bbclass: ensure HOSTTOOLS links point to executables

Use the new executable argument to bb.utils.which() to ensure that the symlinks
point to executable files and not for example directories with the right name
which happened to be on $PATH.

[ YOCTO #11256 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass