]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf: Add sdl-config to HOSTTOOLS if using host SDL
authorJonathan Liu <net147@gmail.com>
Thu, 1 Jun 2017 12:15:52 +0000 (22:15 +1000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Jun 2017 10:50:05 +0000 (11:50 +0100)
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 <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/conf/bitbake.conf

index 8e4f4bbb56c88ebd841cab9a034c026071901957..3ad905c91746c1dba45a2b188fb42ce8f59fa7bb 100644 (file)
@@ -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"