Skip to contentSkip to conversation

bitbake.conf: Add sdl-config to HOSTTOOLS

PATCH New Ricardo Ribalda Delgado 1 participant 1 message Oct 3, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bitbake.conf: Add sdl-config to HOSTTOOLS

Without this patch bitbake cannot find sdl-config

ERROR: OE-core's config sanity checker detected a potential misconfiguration. Either fix the cause of this error or at your own risk disable the checker (see sanity.conf). Following is the list of potential problems / advisories:

libsdl-native is set to be ASSUME_PROVIDED but sdl-config can't be found in PATH. Please either install it, or configure qemu not to require sdl.

---
 meta/conf/bitbake.conf | 3 +++
 1 file changed, 3 insertions(+)
meta/conf/bitbake.conf +3 -0
index 2dac3a1481eb..ebd758d1d904 100644
@@ -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_PROVIDED', '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"
 
Signature · 1 line
2.14.2