How To Make A Custom Localfeed - AtlantsEmbedded/IntelliPi Wiki
This file describes the steps to add a package locally to the image.
Add an entry in feeds.conf.default file located inside intelliroot directory.
Example: src-link local /home/user/IntelliPi/local
The path for the location of customfeed is added.
Edit the OpenWRT Makefile inorder to give the path for source code and Makefile corresponding to the source code.
In the following example, source code and the Makefile corresponding to the source code resides in myBeeper directory. Both are copied in to the package build directory.
define Build/Prepare cp -R /home/alexjo/Atlants/IntelliPi/src/myBeeper/* $(PKG_BUILD_DIR) endef
Step 3: Update and install the feeds.
./scripts/feeds update -a
./scripts/feeds install -a
Step 4: Run make menuconfig.
Package will be visible after adding all the depended libraries.
In this case, depended library is wiringPi, which can be found under the libs category of the Atlants-GPL section. After adding the library, the package myBeeper(in this case) will be visible under the libs category of the Atlants-GPL section.
Following link provides Makefiles and source code template