I'm working with a customized openwrt buildroot to build firmware images for a custom router that my company is helping to develop. I've been able to get the whole buildroot working and flashed on our hardware. Additionally, we developed a custom .ipk (without using any openwrt tools) for some additional software, and have had no trouble installing it using opkg. However, now I need to have the .ipk included in the OpenWrt build, so that our software is built into the image that I flash to our router. We do have internal development reasons for wanting to have the package built separately instead of having OpenWrt build it from source.
Is there any easy way to include a prepackaged ipk into the build, perhaps using the feeds framework?
I've been able to find several examples of how to add a package feed, but it seems that the instructions are always in the context of downloading source to be built by the openwrt system into an .ipk and then installed. Perhaps I could make an OpenWrt makefile for our package that essentially skips the compile and packaging steps and just installs the package to the filesystem? I'm sorry if these questions are ill formed; I'm still trying to grasp exactly how OpenWrt goes about the process of making and installing packages. My current understanding is:
Install packages (openwrt makefile andpatches) in feeds --> magic --> package source downloaded according to openwrt makefile--> more magic --> package source compiled --> ??? --> package made into .ipk --> ??? --> .ipk installed onto filesystem --> filesystem image built --> Profit.
I'd really love to have a better understanding of this process (which makefiles control the process?), but I can't find it well documented anywhere, and have had a bit of trouble finding my way through the maze of makefiles and includes.