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 <jsmoeller@linuxfoundation.org>
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} \
"