If only alsa and not pulseaudio was in PACKAGECONFIG soundless was
configured. This is incorrect for obvious reasons, therefore set
soundless only if alsa and pulseaudio isn't set.

Signed-off-by: Richard Leitner <[email protected]>
---
 recipes-core/openjdk/openjdk-8-common.inc | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/recipes-core/openjdk/openjdk-8-common.inc 
b/recipes-core/openjdk/openjdk-8-common.inc
index 04acc59..70585a6 100644
--- a/recipes-core/openjdk/openjdk-8-common.inc
+++ b/recipes-core/openjdk/openjdk-8-common.inc
@@ -111,10 +111,7 @@ def package_config_option_cleanup(d):
     if not option_headless and not with_cups:
         option_headless = True
 
-    if not option_soundless and not with_alsa:
-        option_soundless = True
-
-    if not option_soundless and not with_pulseaudio:
+    if not option_soundless and not with_pulseaudio and not with_alsa:
         option_soundless = True
 
     options = {'make': [], 'cpp': [], 'env': [], 'configure': 
["--disable-ccache"] }
-- 
2.26.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#87002): 
https://lists.openembedded.org/g/openembedded-devel/message/87002
Mute This Topic: https://lists.openembedded.org/mt/76776503/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to