X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=templates%2Ffeature%2Fagl-devel%2Fagl-devel.md;h=389dcba303661ec5d049787162ff38491ea17a8d;hb=dd4fe1c7ba8da1ca8da0df46049811537e569188;hp=85a2b91778b9e91e9efd63521cd79c8b0d0aa6a7;hpb=12c569634e5fbb1e4d29316dafba8bde783953c3;p=AGL%2Fmeta-agl.git 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. -