aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2016-12-09 18:43:27 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2016-12-09 23:00:38 +0000
commit0f25ad8abb71b43261bdb6e65a4a235b89e27c6e (patch)
tree1b2ec8c394b49c383303cf34aa33ff8a06e6b354
parent9fe237892c9dd3a11e6406a69c464c28ef2cbf6e (diff)
homescreen: generate appropriate files for SDK
Change-Id: I9fb1b5c8144c44ca69a107ede497be629683e8d8 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
-rw-r--r--recipes-demo-hmi/homescreen/homescreen_git.bb37
1 files changed, 18 insertions, 19 deletions
diff --git a/recipes-demo-hmi/homescreen/homescreen_git.bb b/recipes-demo-hmi/homescreen/homescreen_git.bb
index e8e3af00a..938094f03 100644
--- a/recipes-demo-hmi/homescreen/homescreen_git.bb
+++ b/recipes-demo-hmi/homescreen/homescreen_git.bb
@@ -5,6 +5,8 @@ LICENSE = "Apache-2.0"
SECTION = "apps"
S = "${WORKDIR}/git/"
+BBCLASSEXTEND = " nativesdk"
+
inherit qmake5 systemd
DEPENDS = " qtbase "
@@ -56,23 +58,20 @@ FILES_${PN} += "/usr/AGL/${PN}/ ${libdir} ${systemd_user_unitdir}"
FILES_${PN}-dbg += "/usr/AGL/${PN}/.debug"
-#############################################
-# this has to be set up later...
-#############################################
-#PACKAGES =+ "libhomescreen libhomescreen-dev libhomescreen-dbg"
-#
-#FILES_libhomescreen = "\
-# ${libdir}/libhomescreen.so.* \
-#"
-#FILES_libhomescreen-dev = "\
-# ${includedir}/libhomescreen.hpp \
-# ${libdir}/libhomescreen.so \
-# ${libdir}/pkgconfig/libhomescreen.pc \
-#"
-#FILES_libhomescreen-dbg = "\
-# ${libdir}/.debug/libhomescreen.so.* \
-#"
-#RDEPENDS_libhomescreen-dbg += "${PN}-dbg libhomescreen-dev"
-#
-#RDEPENDS_${PN}-dev += "libhomescreen-dev"
+PACKAGES =+ "libhomescreen libhomescreen-dev libhomescreen-dbg"
+
+FILES_libhomescreen = "\
+ ${libdir}/libhomescreen.so.* \
+"
+FILES_libhomescreen-dev = "\
+ ${includedir}/libhomescreen.hpp \
+ ${libdir}/libhomescreen.so \
+ ${libdir}/pkgconfig/libhomescreen.pc \
+"
+FILES_libhomescreen-dbg = "\
+ ${libdir}/.debug/libhomescreen.so.* \
+"
+RDEPENDS_libhomescreen-dbg += "${PN}-dbg libhomescreen-dev"
+
+RDEPENDS_${PN}-dev += "libhomescreen-dev"