I have a C/C++ application that was originally built quite a few years ago for LynxOs. The hardware that the application was targeted for is now end of life, and I have been tasked with porting the application to a PPC11A powerpc board from Abaco that is using an embedded linux kernel.
I have a Board Support Package from Abaco that is built on an older version (2.3.3) of the Yocto Project, and I have been able to build a kernel image with the BSP. I have also been able to create a cross-toolchain installer from my build directory, and I have been able to compile/link the application with the cross-toolchain.
At this point, I have a build directory for the kernel image builds, and I have a completely separate build area for the application. Now, I am trying to figure out what I need to do in order to integrate the application's executables, libraries, config files, etc. into the kernel image.
Note that I a newbie when it comes to the Yocto Project and OE, and everything that I have been able to do so far is based on what I have read in the Yocto documents, online forums, and even a book that I purchased. I have found quite a bit of information on how to setup and use Eclipse for application development, but that is not possible in the environment that I am working in.
For what I have read, I assume that I will need to (or should) create a new layer for my application, and then I will need to create some sort of recipe to install the application into the kernel's filesystem. I did find an example in a book that I read of a recipe that uses bin_package to fetch, unpack, and install an externally built package which is essentially what I need to do with the exception that my application is not currently built as a software package.
Additional Clarification The application that I am working with is a simple makefile application (i.e. no autotools), and for various reasons, it will be built outside of the embedded linux kernel image build. I just need to figure out how to write a recipe to install the application's executables, libraries, config, and data files (all local files) into the root filesystem of the kernel image.
Any advice, concrete examples, or links to other sources that I may not have seen yet would be greatly appreciated.
Thank you.