Convert to new override syntax
[AGL/meta-agl.git] / templates / feature / agl-devel / README_feature_agl-devel.md
1 ---
2 description: Feature agl-devel
3 authors: José Bollo <jose.bollo@iot.bzh>, Ronan Le Martret <ronan.lemartret@iot.bzh>, Stephane Desneux <stephane.desneux@iot.bzh>, Yannick Gicquel <yannick.gicquel@iot.bzh>
4 ---
5         
6 ### Feature agl-devel
7          
8 Activation of the agl-devel features turns on
9 features needed for developping and debugging
10 agl distribution.
11
12 This includes:
13
14 * adding to images some useful packages
15 * adding to images the package group 'packagegroup-agl-devel'
16 * definition of a contionnal the tag 'agl-devel'
17     for conditionnal building
18
19   * definition of the distro feature 'agl-devel'
20   * adds packages for development in SDK
21
22 ### How to use agl-devel in conditionnal builds
23
24 The following example shows how to activate C/C++ code
25 specific to agl-devel:
26
27 ```yocto
28 CPPFLAGS:append:agl-devel = " -DAGL_DEVEL"
29 ```
30
31 Using this, any code enclosed in
32
33 ```yocto
34 #ifdef AGL_DEVEL
35 ...my code specific to agl-devel...
36 #endif
37 ```
38
39 will normaly be effective only if agl-devel is set on.
40
41 At this time, it is recommended to use AGL_DEVEL as tag
42 within C/C++ code.