Skip to contentSkip to conversation

bitbake.conf: Add sdl-config to HOSTTOOLS if using host SDL

PATCH In review Jonathan Liu 2 participants 3 messages Jun 5, 2017 – Jun 14, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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)

---
 meta/conf/bitbake.conf | 3 +++
 1 file changed, 3 insertions(+)
meta/conf/bitbake.conf +3 -0
index 8e4f4bbb56..3ad905c917 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_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"
 
Signature · 1 line
2.12.2
#1 lore raw
Quoted 26 lines · Jonathan Liu

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)

---
 meta/conf/bitbake.conf | 3 +++
 1 file changed, 3 insertions(+)
meta/conf/bitbake.conf +3 -1
index 8e4f4bbb56..3ad905c917 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_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"
 
--
Quoted 2 lines

2.12.2

Bump.

#2 lore raw
Quoted 22 lines · Jonathan Liu
Quoted 21 lines · Jonathan Liu

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)

---
 meta/conf/bitbake.conf | 3 +++

 1 file changed, 3 insertions(+)
meta/conf/bitbake.conf +0 -0
index 8e4f4bbb56..3ad905c917 100644
@@ -471,6 +471,9 @@ HOSTTOOLS += " \
  # Tools needed to run testimage runtime image testing

 HOSTTOOLS += "ip ping ps scp ssh stty"

Quoted 7 lines
Quoted 7 lines
meta/conf/bitbake.conf +2 -0
+# 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"

Backported, thanks.

Cheers,

Richard