aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/feature/agl-devel/agl-devel.md33
1 files changed, 15 insertions, 18 deletions
diff --git a/templates/feature/agl-devel/agl-devel.md b/templates/feature/agl-devel/agl-devel.md
index 85a2b9177..389dcba30 100644
--- a/templates/feature/agl-devel/agl-devel.md
+++ b/templates/feature/agl-devel/agl-devel.md
@@ -1,5 +1,4 @@
-The features of agl-devel
-=========================
+# The features of agl-devel
Activation of the agl-devel features turns on
features needed for developping and debugging
@@ -7,34 +6,32 @@ agl distribution.
This includes:
- - adding to images some useful packages
-
- - adding to images the package group 'packagegroup-agl-devel'
-
- - definition of a contionnal the tag 'agl-devel'
+* adding to images some useful packages
+* adding to images the package group 'packagegroup-agl-devel'
+* definition of a contionnal the tag 'agl-devel'
for conditionnal building
- - definition of the distro feature 'agl-devel'
-
- - adds packages for development in SDK
+ * definition of the distro feature 'agl-devel'
+ * adds packages for development in SDK
-
-How to use agl-devel in conditionnal builds ?
----------------------------------------------
+## How to use agl-devel in conditionnal builds
The following example shows how to activate C/C++ code
specific to agl-devel:
- CPPFLAGS_append_agl-devel = " -DAGL_DEVEL"
+```yocto
+CPPFLAGS_append_agl-devel = " -DAGL_DEVEL"
+```
Using this, any code enclosed in
- #ifdef AGL_DEVEL
- ...my code specific to agl-devel...
- #endif
+```yocto
+#ifdef AGL_DEVEL
+...my code specific to agl-devel...
+#endif
+```
will normaly be effective only if agl-devel is set on.
At this time, it is recommended to use AGL_DEVEL as tag
within C/C++ code.
-