summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2017-06-01 22:15:52 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-14 11:50:12 +0100
commit91cee064332969207334cd1ee5c31d02610281fc (patch)
tree806646cad62ea43e56c548052f1686e1a513a5b7
parentc63903443bab75cda3bfccb8f872985bd7e943c0 (diff)
downloadpoky-91cee064332969207334cd1ee5c31d02610281fc.tar.gz
bitbake.conf: Add sdl-config to HOSTTOOLS if using host SDL
If ASSUME_PROVIDES contains libsdl-native, we need to add sdl-config to HOSTTOOLS to allow access to the host sdl-config. (From OE-Core rev: ed5a602d3eb418beb2f9731fda96415ed16efff2) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/bitbake.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 8e4f4bbb56..3ad905c917 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -471,6 +471,9 @@ HOSTTOOLS += " \
471# Tools needed to run testimage runtime image testing 471# Tools needed to run testimage runtime image testing
472HOSTTOOLS += "ip ping ps scp ssh stty" 472HOSTTOOLS += "ip ping ps scp ssh stty"
473 473
474# Link to sdl-config if using host SDL
475HOSTTOOLS += "${@bb.utils.contains('ASSUME_PROVIDES', 'libsdl-native', 'sdl-config', '', d)}"
476
474# Link to these if present 477# Link to these if present
475HOSTTOOLS_NONFATAL += "aws ccache gcc-ar gpg ld.bfd ld.gold nc sftp socat sudo" 478HOSTTOOLS_NONFATAL += "aws ccache gcc-ar gpg ld.bfd ld.gold nc sftp socat sudo"
476 479