From 91cee064332969207334cd1ee5c31d02610281fc Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Thu, 1 Jun 2017 22:15:52 +1000 Subject: 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/conf/bitbake.conf | 3 +++ 1 file changed, 3 insertions(+) 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" -- cgit v1.2.3-54-g00ecf