diff options
author | Phong Tran <tranmanphong@gmail.com> | 2017-08-13 22:17:26 +0200 |
---|---|---|
committer | Phong Tran <tranmanphong@gmail.com> | 2017-08-13 22:35:17 +0200 |
commit | b38057354fcc2e99f37bb3391d83b562faae59c2 (patch) | |
tree | 5afedc2e76debc83238f93585625565331f51df1 | |
parent | e9aab9ee0b25b679c2c038b9dbbf46d944be27e0 (diff) |
agl-demo-platform: add packagegroup smartdevicelink
Add the new packagegroup name packagegroup-agl-smartdevicelink.
This install to agl-demo-platform image with "agl-sdl" in DISTRO_FEATURES
Tested build ok with:
source meta-agl/scripts/aglsetup.sh -m raspberrypi3 agl-demo agl-netboot agl-appfw-smack agl-sdl
Change-Id: I1b348affa88f0f3c1a313b2856bd38482fd8e778
Depends-On: I416d8418c0ef4fe4de5e5ce084e7b9075e64f85f
Signed-off-by: Phong Tran <tranmanphong@gmail.com>
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" |