summaryrefslogtreecommitdiffstats
path: root/templates/feature/agl-devel/agl-devel.md
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2018-07-30 13:59:07 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-08-01 12:18:09 +0000
commitdd4fe1c7ba8da1ca8da0df46049811537e569188 (patch)
treec78829a3c7b72027c32263e8d3471803425a21a0 /templates/feature/agl-devel/agl-devel.md
parent12c569634e5fbb1e4d29316dafba8bde783953c3 (diff)
Remove porter reference from meta-agl
* Remove, from recipes, reference to porter, gen2, krogoth. * cleanup mardown from reference to porter. * cleanup markdown (markdownlint score 0). Change-Id: I70b9880fc52ef3c848da588d3a256fa8eee48606 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'templates/feature/agl-devel/agl-devel.md')
-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.
-