aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools')
-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 a4c6aa3ab..17531c730 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 000000000..a4c6aa3ab
--- /dev/null
+++ b/recipes-devtools/python/python3-cantools_agldemo.inc
@@ -0,0 +1,3 @@
+RDEPENDS:${PN} += "\
+ python3-argparse-addons \
+"