Hi,
I'm trying to add a new 'hello world' component into my build just to see how it's done. I created a hello world c program and add the build into Makefile under packages/apps. However, even though I followed the instructions, new rootfs image does not include my component.
The steps that I followed from the documentation are:
Step1: Add a new CONFIG_APP_<component>=y and configure <component>_repo_url and <component>_repo_branch in configs/build_lsdk.cfg, you can directly create the new component git repository in packages/apps/<your-component> as well, ensure there is an appropriate Makefile in your new component git repository. (I directly create my component under packages/apps instead of git repo, while adding build of this component into Makefile)
Step2: Add build target support for the new component in packages/apps/Makefile
Step3: Run 'flex-builder -c <component_name> -a <arch>' to build new component
Step4: Run 'flex-builder -i merge-component -a <arch>' to merger new component package into distro userland
Step5: Run 'flex-builder -i packrfs -a <arch>' to pack the target distro userland for deployment
After running the last command, I unzip rootfs image to check whether my component is inside, but it's not.
What am I doing wrong? How to check whether my component exists in the new rootfs image?
Thnx