aboutsummaryrefslogtreecommitdiffstats
path: root/meta/conf
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:05 +0100
commited5a602d3eb418beb2f9731fda96415ed16efff2 (patch)
treed23575c64872706a58ae2c778e1ad8329da421c2 /meta/conf
parent903a051d47e550553aa9d6d9c38c43737f376cfe (diff)
downloadopenembedded-core-contrib-ed5a602d3eb418beb2f9731fda96415ed16efff2.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. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/conf')
-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 += " \
# 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"