aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-07-24 15:56:36 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-07-25 09:15:28 +0000
commit8e79503e396c8f6cca9f35b6c57fc2f6972ec533 (patch)
tree68167c2c9233732b055fe976d952ae1727da1a20
parent8e6affcb7d594417a2c99f48e2eef13e656f4350 (diff)
af-main: Install debugging features when agl-devel
When agl-devel is required, installs the debugging feature needed by XDS. Also, improves AGL_DEVEL setting of af-binder. Bug-AGL: SPEC-659 Change-Id: I90a1ecbaf78b860ded4f3a70d81ab6312d40772e Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10333 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>
-rw-r--r--meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb1
-rw-r--r--meta-app-framework/recipes-core/af-main/af-main_1.0.bb2
-rw-r--r--meta-app-framework/recipes-core/af-main/af-main_1.0.inc2
3 files changed, 4 insertions, 1 deletions
diff --git a/meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb b/meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb
index ecd8b5ac0..c0e15820e 100644
--- a/meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb
+++ b/meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb
@@ -22,6 +22,7 @@ S = "${WORKDIR}/git"
inherit cmake pkgconfig
+EXTRA_OECMAKE_append_agl-devel = " -DAGL_DEVEL=1"
CFLAGS_append_agl-devel = " -DAGL_DEVEL"
pkg_postinst_${PN}() {
diff --git a/meta-app-framework/recipes-core/af-main/af-main_1.0.bb b/meta-app-framework/recipes-core/af-main/af-main_1.0.bb
index 7863874a2..057f412aa 100644
--- a/meta-app-framework/recipes-core/af-main/af-main_1.0.bb
+++ b/meta-app-framework/recipes-core/af-main/af-main_1.0.bb
@@ -35,6 +35,8 @@ EXTRA_OECMAKE = "\
-DUNITDIR_SYSTEM=${systemd_system_unitdir} \
"
+EXTRA_OECMAKE_append_agl-devel = " -DAGL_DEVEL=1"
+
USERADD_PACKAGES = "${PN}"
USERADD_PARAM_${PN} = "-g ${afm_name} -d ${afm_datadir} -r ${afm_name}"
GROUPADD_PARAM_${PN} = "-r ${afm_name}"
diff --git a/meta-app-framework/recipes-core/af-main/af-main_1.0.inc b/meta-app-framework/recipes-core/af-main/af-main_1.0.inc
index b4addb20f..8948d9043 100644
--- a/meta-app-framework/recipes-core/af-main/af-main_1.0.inc
+++ b/meta-app-framework/recipes-core/af-main/af-main_1.0.inc
@@ -14,7 +14,7 @@ SRC_URI = "${SRC_URI_git} \
${SRC_URI_files} \
"
-SRCREV = "92736672c93cb9cc159af5dbc831249eb15261ed"
+SRCREV = "c2fa10efe8e8b2443883e7b04b2cf452b6b8dd85"
PV = "master+git${SRCPV}"
S = "${WORKDIR}/git"