linux-renesas: Add ADSP patch only for m3ulcb
[AGL/meta-agl.git] / templates / feature / agl-devel / agl-devel.md
1 # The features of agl-devel
2
3 Activation of the agl-devel features turns on
4 features needed for developping and debugging
5 agl distribution.
6
7 This includes:
8
9 * adding to images some useful packages
10 * adding to images the package group 'packagegroup-agl-devel'
11 * definition of a contionnal the tag 'agl-devel'
12     for conditionnal building
13
14   * definition of the distro feature 'agl-devel'
15   * adds packages for development in SDK
16
17 ## How to use agl-devel in conditionnal builds
18
19 The following example shows how to activate C/C++ code
20 specific to agl-devel:
21
22 ```yocto
23 CPPFLAGS_append_agl-devel = " -DAGL_DEVEL"
24 ```
25
26 Using this, any code enclosed in
27
28 ```yocto
29 #ifdef AGL_DEVEL
30 ...my code specific to agl-devel...
31 #endif
32 ```
33
34 will normaly be effective only if agl-devel is set on.
35
36 At this time, it is recommended to use AGL_DEVEL as tag
37 within C/C++ code.