![]() |
Cross developmentSee http://www.nslu2-linux.org/wiki/Optware/AddAPackageToOptware In short, build openwrt-ixp4xx release first, then svn co http://svn.nslu2-linux.org/svnroot/optware/trunk optware cd optware make openwrt-ixp4xx-target cd openwrt-ixp4xx make directories ipkg-utils make <foo>-ipk make <bar>-dirclean <bar>-check Native development1) setup optware ipkg on openwrt-ixp4xx following http://www.nslu2-linux.org/wiki/OpenWrt/HomePage 2) /opt/bin/ipkg update 3) /opt/bin/ipkg install optware-devel 4) [optional, but recommended] login as non-root user 5) (you can use any directory, change the following accordingly) cd $HOME svn co http://svn.nslu2-linux.org/svnroot/optware/trunk optware 6) cd $HOME/optware; make openwrt-ixp4xx-target 7) cd $HOME/optware/openwrt-ixp4xx make directories ipkg-utils 8) make hello-dirclean hello-check replace hello with other package you want to build. Please note that most optware packages are cross built. We tried to accommodate both native build and cross build, but there can be some packages that are only buildable in cross compilation environment. Native build is significantly slower than cross build. It's possible to speed up C/C++ packages with distcc. |