From: Jonathan Liu Date: Thu, 1 Jun 2017 12:15:52 +0000 (+1000) Subject: bitbake.conf: Add sdl-config to HOSTTOOLS if using host SDL X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=ed5a602d3eb418beb2f9731fda96415ed16efff2;p=openembedded-core.git 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. Signed-off-by: Jonathan Liu Signed-off-by: Ross Burton --- 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 += " \ # Tools needed to run testimage runtime image testing HOSTTOOLS += "ip ping ps scp ssh stty" +# Link to sdl-config if using host SDL +HOSTTOOLS += "${@bb.utils.contains('ASSUME_PROVIDES', 'libsdl-native', 'sdl-config', '', d)}" + # Link to these if present HOSTTOOLS_NONFATAL += "aws ccache gcc-ar gpg ld.bfd ld.gold nc sftp socat sudo"