diff options
Diffstat (limited to 'templates/feature/agl-devel')
-rw-r--r-- | templates/feature/agl-devel/README_feature_agl-devel.md | 42 | ||||
-rw-r--r-- | templates/feature/agl-devel/agl-devel.md | 40 | ||||
-rw-r--r-- | templates/feature/agl-devel/included.dep | 1 |
3 files changed, 43 insertions, 40 deletions
diff --git a/templates/feature/agl-devel/README_feature_agl-devel.md b/templates/feature/agl-devel/README_feature_agl-devel.md new file mode 100644 index 000000000..588bb3cdc --- /dev/null +++ b/templates/feature/agl-devel/README_feature_agl-devel.md @@ -0,0 +1,42 @@ +--- +description: Feature agl-devel +authors: José Bollo <jose.bollo@iot.bzh>, Ronan Le Martret <ronan.lemartret@iot.bzh>, Stephane Desneux <stephane.desneux@iot.bzh>, Yannick Gicquel <yannick.gicquel@iot.bzh> +--- + +### Feature agl-devel + +Activation of the agl-devel features turns on +features needed for developping and debugging +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' + for conditionnal building + + * definition of the distro feature 'agl-devel' + * adds packages for development in SDK + +### How to use agl-devel in conditionnal builds + +The following example shows how to activate C/C++ code +specific to agl-devel: + +```yocto +CPPFLAGS:append:agl-devel = " -DAGL_DEVEL" +``` + +Using this, any code enclosed in + +```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. diff --git a/templates/feature/agl-devel/agl-devel.md b/templates/feature/agl-devel/agl-devel.md deleted file mode 100644 index 85a2b9177..000000000 --- a/templates/feature/agl-devel/agl-devel.md +++ /dev/null @@ -1,40 +0,0 @@ -The features of agl-devel -========================= - -Activation of the agl-devel features turns on -features needed for developping and debugging -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' - for conditionnal building - - - definition of the distro feature 'agl-devel' - - - adds packages for development in SDK - - -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" - -Using this, any code enclosed in - - #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. - diff --git a/templates/feature/agl-devel/included.dep b/templates/feature/agl-devel/included.dep new file mode 100644 index 000000000..115ecf19a --- /dev/null +++ b/templates/feature/agl-devel/included.dep @@ -0,0 +1 @@ +agl-package-management |