Framework: Leverage agl-devel and set PV 85/10085/2
authorJosé Bollo <jose.bollo@iot.bzh>
Wed, 5 Jul 2017 07:33:04 +0000 (09:33 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 7 Jul 2017 10:59:36 +0000 (10:59 +0000)
It is time for the framework to include
development specific features intended
to be used when developing applications.

This commit prepares such use. See:
AGL-Bug: SPEC-594

It also changes the version PV to point
the correct AGL distribution/branch and
git commit.

Change-Id: Ib6abbc3d83ee3eecb79b574f988b430221c45b33
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10085
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb
meta-app-framework/recipes-core/af-main/af-main_1.0.inc

index 2c9a784..0c9a78d 100644 (file)
@@ -16,10 +16,14 @@ SRC_URI = "${SRC_URI_git} \
           "
 
 SRCREV = "305d98f7b6db1a3207cc877bd2cda819e3b90656"
+PV = "master+git${SRCPV}"
+
 S = "${WORKDIR}/git"
 
 inherit cmake pkgconfig
 
+CFLAGS_append_agl-devel = " -DAGL_DEVEL"
+
 pkg_postinst_${PN}() {
        mkdir -p "$D${libdir}/afb"
 }
index f7d3bc8..1fd33ad 100644 (file)
@@ -15,6 +15,7 @@ SRC_URI = "${SRC_URI_git} \
           "
 
 SRCREV = "5cea66506dff09e8bdebbd623115ea103e87aba6"
+PV = "master+git${SRCPV}"
 
 S = "${WORKDIR}/git"
 
@@ -24,3 +25,5 @@ afm_datadir = "/var/local/lib/${afm_name}"
 afb_binding_dir = "${libdir}/afb"
 systemd_units_root = "/usr/local/lib/systemd"
 
+CFLAGS_append_agl-devel = " -DAGL_DEVEL"
+