[gnome-continuous-yocto/gnomeostree-3.28-rocko: 6071/8267] bitbake.conf: Add sdl-config to HOSTTOOLS if using host SDL



commit cf06129961a39365d4128e1f5d6f01765d6fc8d1
Author: Jonathan Liu <net147 gmail com>
Date:   Thu Jun 1 22:15:52 2017 +1000

    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: eeb248c1a017e07e36b6fbaafe45006e3869f41a)
    
    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>

 meta/conf/bitbake.conf |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 8e4f4bb..3ad905c 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"
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]