summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-devtools/python/python3-cantools_37.0.7.bbappend4
-rw-r--r--recipes-devtools/python/python3-cantools_agldemo.inc3
2 files changed, 4 insertions, 3 deletions
diff --git a/recipes-devtools/python/python3-cantools_37.0.7.bbappend b/recipes-devtools/python/python3-cantools_37.0.7.bbappend
index a4c6aa3a..17531c73 100644
--- a/recipes-devtools/python/python3-cantools_37.0.7.bbappend
+++ b/recipes-devtools/python/python3-cantools_37.0.7.bbappend
@@ -1,3 +1 @@
-RDEPENDS:${PN} += "\
- python3-argparse-addons \
-"
+require ${@bb.utils.contains('AGL_FEATURES', 'agldemo', 'python3-cantools_agldemo.inc', '', d)}
diff --git a/recipes-devtools/python/python3-cantools_agldemo.inc b/recipes-devtools/python/python3-cantools_agldemo.inc
new file mode 100644
index 00000000..a4c6aa3a
--- /dev/null
+++ b/recipes-devtools/python/python3-cantools_agldemo.inc
@@ -0,0 +1,3 @@
+RDEPENDS:${PN} += "\
+ python3-argparse-addons \
+"