From 8ec229f32e535e875f8722665242f7e96db53c92 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Mon, 15 May 2017 15:52:25 +0200 Subject: Allows specific features for agl-devel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Having features allowed only during developement of AGL is a plus. This commit allows to add tests within recipes to check if the current build is AGL developement. If not the build is for production. By default, extra feature must be off. This commits doesn't add CPPFLAGS += "-DAGL_DEVEL" to improve build time and cache space of yocto. However, it is a good practice, when needed, to use the tag AGL_DEVEL in C/C++ codes specific to AGL and thus to include the line CPPFLAGS_append_agl-devel = " -DAGL_DEVEL" in recipes specific to AGL. AGL-Bug: SPEC-594 Change-Id: Ie967a4317886ee78304999f36de5db9de22568a7 Signed-off-by: José Bollo Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9393 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Stéphane Desneux Reviewed-by: Changhyeok Bae Reviewed-by: Jan-Simon Moeller --- meta-agl/conf/include/agl-devel.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-agl/conf') diff --git a/meta-agl/conf/include/agl-devel.inc b/meta-agl/conf/include/agl-devel.inc index f4cba6966..9610fd8fd 100644 --- a/meta-agl/conf/include/agl-devel.inc +++ b/meta-agl/conf/include/agl-devel.inc @@ -7,3 +7,7 @@ IMAGE_INSTALL_append = " \ # disable install of debug files in SDK # initial value: SDKIMAGE_FEATURES="dev-pkgs dbg-pkgs staticdev-pkgs" SDKIMAGE_FEATURES="dev-pkgs" + +# allows insertion of code or items specific to developement +OVERRIDES .= ":agl-devel" +DISTRO_FEATURES_append = " agl-devel" -- cgit 1.2.3-korg