diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-05-15 15:52:25 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-05-19 10:39:24 +0000 |
commit | 8ec229f32e535e875f8722665242f7e96db53c92 (patch) | |
tree | 884dd0eadb978e1f98dcd81b997647cb1199846b /scripts/aglsetup.sh | |
parent | b9bd517d23041206cb6bef3eb2ba3c5adfcb0dc2 (diff) |
Allows specific features for agl-devel
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 <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9393
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Changhyeok Bae <changhyeok.bae@lge.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'scripts/aglsetup.sh')
0 files changed, 0 insertions, 0 deletions