From 601ba51b28e533c525cfa34e5b3838ec732410cc Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Thu, 12 Oct 2017 16:58:07 +0200 Subject: Add switch between homescreen and homescreen-2017 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add option to switch between homescreen implementations. Default is the 'old' homescreen. Only if DISTRO_FEATURES += " agl-hmi-framework " is set we switch to use the new packagegroup(s) for homescreen-2017. This setting is done when you call aglsetup.sh with the 'agl-hmi-framework' feature enabled. Change-Id: Ieb45c1534f0759e8adb891f77ae85cb917e736e2 Signed-off-by: Jan-Simon Möller --- recipes-platform/packagegroups/packagegroup-agl-demo.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/recipes-platform/packagegroups/packagegroup-agl-demo.bb b/recipes-platform/packagegroups/packagegroup-agl-demo.bb index dd397fce1..cc93ddaa3 100644 --- a/recipes-platform/packagegroups/packagegroup-agl-demo.bb +++ b/recipes-platform/packagegroups/packagegroup-agl-demo.bb @@ -14,9 +14,14 @@ ALLOW_EMPTY_${PN} = "1" SMARTDEVICELINK = "${@bb.utils.contains('DISTRO_FEATURES', 'agl-sdl', \ 'packagegroup-agl-smartdevicelink', '', d)}" +# old homescreen package +HOMESCREEN-OLD = "homescreen" +# packages from hmi-framework aka homescreen-2017 +HOMESCREEN-NEW = "packagegroup-hmi-framework packagegroup-hmi-framework-dev" + RDEPENDS_${PN} += "\ packagegroup-agl-appfw \ - homescreen \ + ${@bb.utils.contains('DISTRO_FEATURES', 'agl-hmi-framework', '${HOMESCREEN-NEW}', '${HOMESCREEN-OLD}', d)} \ udisks \ ${SMARTDEVICELINK} \ " -- cgit 1.2.3-korg