Installed the legato -source in vscode using leaf getsrc legato, as per the documentation Get Legato Source Code - Legato Docs do we need to build the legato source from command line going into the legato-src directory?
ctrl+Shift+B to build the SDK no longer works if the legato source is downloaded.
Executing task: mksys ${LEGATO_DEF_FILE} -s components -t ${LEGATO_TARGET} -w ${LEGATO_OBJECT_DIR} -o ${LEGATO_OUTPUT_DIR} <
/bin/bash: mksys: command not found
The terminal process “/bin/bash ‘-c’, ‘mksys ${LEGATO_DEF_FILE} -s components -t ${LEGATO_TARGET} -w ${LEGATO_OBJECT_DIR} -o ${LEGATO_OUTPUT_DIR}’” failed to launch (exit code: 127).
Terminal will be reused by tasks, press any key to close it.
from the legato.io it states " Once the source code for Linux is downloaded leaf removes the links to the pre-built toolchain and linux images. You must rebuild those from source code." where do we get the list of links to rebuild to be used by the VS Code?
Would’nt it be better if there is an option for leaf buildsrc which would build the source and rebuild the link automatically?
Requirement is to build the Legato source code and use it inside VS code? Skipping the legato source build is not what I am looking for.
Would like to know if it is possible to build the source inside VS Code? Recently all source distributions have been moved away from source.sierrawireless.com to git and can only be downloaded through leaf, hence would like to know if it is also possible to download and build the source or it is only to be used as a download tool?
After Build legato from source is it possible to use the newly build SDK for application development or we have to use the prebuilt SDK from SWI?
Building the SDK or linux source from VS Code workspace and able to use it for building images would streamline the development workflow.
building it seperately in a different terminal is kind of moving back to older ways of doing things. If one is able to download the source code from leaf tool one should also be able to build it using leaf tool and able to use for existing workspace
For the build legato source how can we add it to the profile to be able to use it in the workspace? Is there a tool to package the built SDK into a leaf package?