You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
TOOLCHAIN=$HOME/OpenWRT/OpenWrt-Toolchain-ar71xx-for-mips_r2-gcc-4.3.3+cs_uClibc-0.9.30.1/toolchain-mips_r2_gcc-4.3.3+cs_uClibc-0.9.30.1
|
|
|
|
|
|
|
|
PATH=$PATH:$TOOLCHAIN/usr/bin
|
|
|
|
PREFIX=mips-openwrt-linux
|
|
|
|
|
|
|
|
CPP=$PREFIX-cpp
|
|
|
|
CC=$PREFIX-gcc
|
|
|
|
#CFLAGS=
|
|
|
|
|
|
|
|
export PATH CC CPP
|
|
|
|
|
|
|
|
#make clean
|
|
|
|
#./configure --prefix=/opt/bforce --host=mips-openwrt-linux --disable-syslog --enable-netspool --with-logdir=/home/fido/log --with-spooldir=/home/fido/bforce
|
|
|
|
#make && scp bin/bforce root@gw-home:/opt/bforce/bin/bforce-new
|
|
|
|
make && scp bin/bforce root@gw-home:/opt/bforce/bin/bforce
|