Personal tools

Porting programs

From Qi Hardware

(Redirected from How to port program)
Jump to: navigation, search

Contents

It's running OpenWrt

So you need to go to their website. The highlights are:

A short guide

You'll definitely need to read the above, but the main ideas are:

  • get a working build environment (this allows you to build new images and individual ports)
  • when you run make menuconfig, select some useful looking unselected package and make it an 'M', and make sure you can compile/install it (look for the output ipkg in bin/xburst/packages, copy to nanonote, then use opkg there):
 make package/packagename/compile V=99
  • add your own Makefile in the appropriate packages directory, and do the same as the above. Then watch it fail when the original authors haven't really thought about cross-compiling! Fix problems. Keep trying.

openwrt-package

  • some nanonote packages not in openwrt are at qi-hardware-packages
  • one idea would be to clone this repo and add new ports to it (with appropriate symlinks) for easy pulls

feeds.conf