aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-qt/qt6/qtserialbus_git.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-qt/qt6/qtserialbus_git.bb b/recipes-qt/qt6/qtserialbus_git.bb
index 5d6dcd0..5bfa80e 100644
--- a/recipes-qt/qt6/qtserialbus_git.bb
+++ b/recipes-qt/qt6/qtserialbus_git.bb
@@ -16,7 +16,9 @@ include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"
-PACKAGECONFIG ?= "modbus-serialport socketcan"
+PACKAGECONFIG ?= "modbus-serialport \
+ ${@bb.utils.contains('BBFILE_COLLECTIONS', 'openembedded-layer', 'socketcan', '', d)} \
+"
PACKAGECONFIG:class-native = ""
PACKAGECONFIG:class-nativesdk = ""