Move feature code into the meta recipes 19/8319/5
authorRonan <ronan.lemartret@iot.bzh>
Fri, 20 Jan 2017 15:20:17 +0000 (16:20 +0100)
committerRonan <ronan.lemartret@iot.bzh>
Wed, 25 Jan 2017 16:16:41 +0000 (17:16 +0100)
 * Having a minimlal local.conf serving the only purpose
   of user customization is the "Yocto" way of doing things

 * After a source synchronization (repo  sync), feature code
   must be update without regenerate local.conf

Change-Id: Ie4cdfde42424f455181ee4bde8087a9cc746e231
Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
conf/include/agl-demo.inc [new file with mode: 0644]
templates/feature/agl-demo/50_bblayers.conf.inc [new file with mode: 0644]
templates/feature/agl-demo/50_local.conf.inc [new file with mode: 0644]
templates/feature/agl-demo/included.dep [new file with mode: 0644]

diff --git a/conf/include/agl-demo.inc b/conf/include/agl-demo.inc
new file mode 100644 (file)
index 0000000..b831a44
--- /dev/null
@@ -0,0 +1,14 @@
+IMAGE_FEATURES =+ "debug-tweaks"
+
+DISTRO_FEATURES_append = " AGL_WEBRUNTIME "
+
+# Add webkit as workaround as webengine is broken right now
+IMAGE_INSTALL_append = " qtwebkit qtwebkit-examples-examples"
+#IMAGE_INSTALL_append = " qtsmarthome cinematicexperience qt5everywheredemo qt5-demo-extrafiles"
+#IMAGE_INSTALL_append = " qtwebengine-examples"
+
+# add support for websocket in Qt and QML
+IMAGE_INSTALL_append = " qtwebsockets qtwebsockets-qmlplugins"
+
+IMAGE_INSTALL_append = " iotivity-resource-samples "
+IMAGE_INSTALL_append = " screen "
diff --git a/templates/feature/agl-demo/50_bblayers.conf.inc b/templates/feature/agl-demo/50_bblayers.conf.inc
new file mode 100644 (file)
index 0000000..7f04f69
--- /dev/null
@@ -0,0 +1,13 @@
+# This layer contains the WIP feature/demo code only
+#---------------------------------------------------
+BBLAYERS =+ " \
+   ${METADIR}/meta-agl-demo \
+"
+
+# These are the dependencies of the AGL DEMO Layer
+#-------------------------------------------------
+BBLAYERS =+ " \
+   ${METADIR}/meta-oic \
+   ${METADIR}/meta-qt5 \
+"
+
diff --git a/templates/feature/agl-demo/50_local.conf.inc b/templates/feature/agl-demo/50_local.conf.inc
new file mode 100644 (file)
index 0000000..7662624
--- /dev/null
@@ -0,0 +1,2 @@
+#see meta-agl-demo/conf/include/agl-demo.inc
+require conf/include/agl-demo.inc
diff --git a/templates/feature/agl-demo/included.dep b/templates/feature/agl-demo/included.dep
new file mode 100644 (file)
index 0000000..00568a9
--- /dev/null
@@ -0,0 +1 @@
+agl-appfw-smack agl-devel