From 8e79503e396c8f6cca9f35b6c57fc2f6972ec533 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Mon, 24 Jul 2017 15:56:36 +0200 Subject: af-main: Install debugging features when agl-devel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10333 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller --- meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb | 1 + meta-app-framework/recipes-core/af-main/af-main_1.0.bb | 2 ++ meta-app-framework/recipes-core/af-main/af-main_1.0.inc | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) 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" -- cgit 1.2.3-korg