How build some source code to image on openEmbedded(Apalis imx6)?

Hi everyone,

I have some question to build own source code(likes print hello world) to Apalis imx6 image.

Should I add my own source code(likes .c & makefile) under the oe-core folder?

And need to set what configuration to build?

After build finished, my application can include in Apalis-iMX6_LXDE-Image_2.7b2-2017XXXX.tar.bz2?

And this file(Apalis-iMX6_LXDE-Image_2.7b2-2017XXXX.tar.bz2), it is run bitbake -k angstrom-lxde-image or bitbake -k angstrom-lxde-image to automatically generated?

Best Regards,

Sam

This blog post and/or these webinars: part1, part2 will be good references to start with.