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:31 +0000
commit56019433f78c5351ec3acf2b56ac9eddfaa19899 (patch)
treed99516da566baf55a14ebfed76585b04de098309
parenta0a20cb8ffa9220a714c1988356182409f85e2a4 (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: Ia824425bbc0e055866b184f1899a2f0432d4618d Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10335 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> 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 dbde967da..3ca6fb3e5 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 d05dea290..3a7ec33bc 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 = "5ac881fc974222d7416507ad36e13e1a811fe22e"
+SRCREV = "d06b3d9f5bae5424bcada675eaece47b56eb9e3d"
PV = "dab+git${SRCPV}"
S = "${WORKDIR}/git"