18 lines
		
	
	
		
			561 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			561 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/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 |