This allows to compile and run OLA on the OpenWrt Linux distribution. It has been successfully tested with the Asus WL-500W router.
In addition, a boblight-fork with ola-support is also included. There's already an issue to integrate ola support into boblight.
Please see the OpenWrt documentation at http://wiki.openwrt.org/doc/start and especially http://wiki.openwrt.org/doc/howto/build to better understand how this works.
Patches and comments are welcome!
Make sure you have all the dependencies of the OpenWrt build system installed.
Checkout OpenWrt from svn (tested with r27259):
mkdir openwrt
cd openwrt
svn co svn://svn.openwrt.org/openwrt/trunk .
Change feeds setup to inculde reference to this feed:
cp feeds.conf.default feeds.conf
echo "src-git ola git://github.com/doits/ola-openwrt-feed.git" >> feeds.conf
Update the feeds:
scripts/feeds update
Include ola in the build:
scripts/feeds install ola
Include other packages from feeds in the build. Perhaps:
scripts/feeds install luci
Configure the build. Do not forget to select OLA:
make menuconfig
Run build and go for a walk:
make
Split the olad and its plugins into separate packages.