From dd4fe1c7ba8da1ca8da0df46049811537e569188 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Mon, 30 Jul 2018 13:59:07 +0200 Subject: 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 --- templates/feature/agl-devel/agl-devel.md | 33 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 18 deletions(-) (limited to 'templates/feature/agl-devel') 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. - -- cgit 1.2.3-korg