In release 0.3 was introduced a Wizard mode to simplify the configuration flow. You can start it launching Kom with option "-w".
If kom doesn't find the required package dialog, it returns an error message.
If your linux building system is properly configured, you will get the menu shown in screenshot below, where you can select which operation you want to execute in a pre-defined sequence.
In the following list are described kom wizard options:
- Bitbake Configuration - Download, Install and Configure bitbake
- OpenEmbedded Configuration - Download OpenEmbedded master branch by git. If is already downloaded, it updates repository. Then, it configures OpenEmbedded ready to use in your projects.
- Project Configuration - In this step you can create a new project into a selected directory.
- Overlay Configuration - Configure your project to use OpenEmbedded overlay.
- Distro Configuration - Configure which distro to use. The list is automatically obtained by the overlay used by your project.
- Machine Configuration - Configure which machine to use. If the selected distro has a list of supported machines (like KaeilOS for example), it shows the list. Otherwise, kom automatically obtain the list seeking machines available in all the overlays you configured into your project.
- Project Summary - Display a summary of project configurations. May be useful to see if all is properly configured.
- Test Project - Test project to find problem in the project configurations.
After selecting all the desired option into this list, you have to select 'OK' in order to start the wizard. The options selected in menu are called sequentially.
If it's the first time and you don't have installed and configured anything, select all the options to get a complete KaeilOS/Openembedded build environment and then start a new project.
On the other hand, you can ignore the first two options just creating a new project.
When you created your project, to the end of wizard, the only thing to remember before start to build is to call komprofile to autogenerate and start the initialization procedure:
# Now you can use bitbake!