summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-platform/packagegroups/packagegroup-agl-demo.bb3
-rw-r--r--recipes-sdl/packagegroups/packagegroup-agl-smartdevicelink.bb14
-rw-r--r--templates/feature/agl-sdl/50_bblayers.conf.inc3
-rw-r--r--templates/feature/agl-sdl/50_local.conf.inc1
4 files changed, 21 insertions, 0 deletions
diff --git a/recipes-platform/packagegroups/packagegroup-agl-demo.bb b/recipes-platform/packagegroups/packagegroup-agl-demo.bb
index 3a7370aef..9182491f6 100644
--- a/recipes-platform/packagegroups/packagegroup-agl-demo.bb
+++ b/recipes-platform/packagegroups/packagegroup-agl-demo.bb
@@ -11,11 +11,14 @@ PACKAGES = "\
ALLOW_EMPTY_${PN} = "1"
+SMARTDEVICELINK = "${@bb.utils.contains('DISTRO_FEATURES', 'agl-sdl', \
+ 'packagegroup-agl-smartdevicelink', '', d)}"
RDEPENDS_${PN} += "\
packagegroup-agl-appfw \
homescreen \
udisks \
+ ${SMARTDEVICELINK} \
"
# fonts
diff --git a/recipes-sdl/packagegroups/packagegroup-agl-smartdevicelink.bb b/recipes-sdl/packagegroups/packagegroup-agl-smartdevicelink.bb
new file mode 100644
index 000000000..108e9b7d7
--- /dev/null
+++ b/recipes-sdl/packagegroups/packagegroup-agl-smartdevicelink.bb
@@ -0,0 +1,14 @@
+DESCRIPTION = "Set of packages for SmartDeviceLink"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+PACKAGES = "\
+ packagegroup-agl-smartdevicelink \
+ "
+
+ALLOW_EMPTY_${PN} = "1"
+
+RDEPENDS_${PN} += "\
+ sdl-core \
+ "
diff --git a/templates/feature/agl-sdl/50_bblayers.conf.inc b/templates/feature/agl-sdl/50_bblayers.conf.inc
new file mode 100644
index 000000000..ffd8fab58
--- /dev/null
+++ b/templates/feature/agl-sdl/50_bblayers.conf.inc
@@ -0,0 +1,3 @@
+BBLAYERS =+ "${METADIR}/meta-sdl \
+ ${METADIR}/meta-openembedded/meta-gnome \
+ "
diff --git a/templates/feature/agl-sdl/50_local.conf.inc b/templates/feature/agl-sdl/50_local.conf.inc
new file mode 100644
index 000000000..10b818867
--- /dev/null
+++ b/templates/feature/agl-sdl/50_local.conf.inc
@@ -0,0 +1 @@
+DISTRO_FEATURES_append = " agl-sdl"