INSTALL-Ben: dirtpan also included in upstream. small cleanup

This commit is contained in:
Xiangfu 2011-10-25 15:51:16 +08:00
parent 0e351780cb
commit ac76df901d
1 changed files with 2 additions and 5 deletions

View File

@ -77,6 +77,8 @@
OWRT opkg install ip
OWRT opkg install ldconfig
OWRT opkg install libnl-1
OWRT opkg install lowpan-tools
OWRT opkg install dirtpan
mkdir -p /usr/local/var/run
exit
@ -85,8 +87,6 @@
wget http://www.infradead.org/~tgr/libnl/files/libnl-1.1.tar.gz
tar xfz libnl-1.1.tar.gz
cd libnl-1.1
OWRT gcc=`readlink -f \`which mipsel-openwrt-linux-gcc\``
OWRT ./configure --prefix=${gcc%/bin/*} --host=mipsel-openwrt-linux
Jlime patch -p1 -s <../libnl-1.1-limits.patch
Jlime inc=`mipsel-linux-cpp -v </dev/null 2>&1 | grep usr/include | tr -d \ `
Jlime ./configure --prefix=${inc%/include} --host=mipsel-linux
@ -101,7 +101,6 @@
git clone git://linux-zigbee.git.sourceforge.net/gitroot/linux-zigbee/linux-zigbee
cd linux-zigbee
OWRT ./autogen.sh --host=mipsel-openwrt-linux
JLime ./autogen.sh --host=mipsel-linux
make
@ -118,8 +117,6 @@
cp lowpan-tools-0.2.2/include/ieee802154.h tools/dirtpan/
cd ben-wpan/tools
OWRT make TARGET=ben_openwrt
OWRT make -C dirtpan TARGET=ben_openwrt
JLime make TARGET=ben_jlime
JLime make -C dirtpan TARGET=ben_jlime
scp dirtpan/dirtpan $NN:/usr/sbin