[SOLVED]Sdef file, or sdef files. Where are they located?

Hello Luis,

Here a very basic custom system:

In your legato framework directory: Create a symbolic link to your “custom” target definitions extra file (targetDefs.extra).

Example:

ln -sf /home/sylvain/work/temp/legato_example/my_custom_system/targetDefs targetDefs.extra

In my custom targetDefs file:

Root directory

export MY_ROOT = $(LEGATO_ROOT)/…/my_custom_system

Override the default sdef file

export SDEF_TO_USE = $(MY_ROOT)/custom.sdef

In your custom.sdef file:

//--------------------------------------------------------------------------------------------------
/**

  • Simple system definition that includes examples services and applications
    */
    //--------------------------------------------------------------------------------------------------

apps:
{
$MY_ROOT/apps/helloWorld/helloWorld.adef
}

And build (if your target is a WP85 device)

make wp85

Best regards,