comparison RUN_DIR-632.k.sh @ 183:0b8aef9f486e

DIR-632(Atheros AR7242) support
author ray@terran.dlink.ua
date Thu, 07 Jul 2011 17:54:55 +0300
parents
children
comparison
equal deleted inserted replaced
182:0e2536a0af73 183:0b8aef9f486e
1 #!/bin/sh
2
3 HOST=`hostname`
4 echo "'${HOST}'"
5 if [ "x${HOST}" = "xrnote.ddteam.net" ] ; then
6 FREEBSD_SRC_TREE=/usr/home/ray/work/@HG/http_my_ddteam_net_hg_BASE_/head/
7 else
8 FREEBSD_SRC_TREE=/usr/1/MIPS_FreeBSD/HEAD/head
9 fi
10 DATE=`date +%Y-%m-%d_%H:%M`
11
12
13 __MAKE_CONF=/dev/null
14 SRCCONF=/dev/null
15
16 export __MAKE_CONF
17 export SRCCONF
18
19 echo "build started, enter \`tail -f $0.${DATE}.log\` to view build details"
20 make TARGET_PAIR=D-Link/DIR-632 FREEBSD_SRC_TREE=${FREEBSD_SRC_TREE} kernel.oldlzma.uboot 2>&1 | tee $0.${DATE}.log > /dev/null
21
22 echo ${TARGET_PAIR} firmware build done at `date`
23