annotate RUN_DIR-632.k.sh @ 187:f3b340294261

fix pin name (wps->reset)
author ray@terran.dlink.ua
date Tue, 02 Aug 2011 00:25:22 +0300
parents 0b8aef9f486e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
183
0b8aef9f486e DIR-632(Atheros AR7242) support
ray@terran.dlink.ua
parents:
diff changeset
1 #!/bin/sh
0b8aef9f486e DIR-632(Atheros AR7242) support
ray@terran.dlink.ua
parents:
diff changeset
2
0b8aef9f486e DIR-632(Atheros AR7242) support
ray@terran.dlink.ua
parents:
diff changeset
3 HOST=`hostname`
0b8aef9f486e DIR-632(Atheros AR7242) support
ray@terran.dlink.ua
parents:
diff changeset
4 echo "'${HOST}'"
0b8aef9f486e DIR-632(Atheros AR7242) support
ray@terran.dlink.ua
parents:
diff changeset
5 if [ "x${HOST}" = "xrnote.ddteam.net" ] ; then
0b8aef9f486e DIR-632(Atheros AR7242) support
ray@terran.dlink.ua
parents:
diff changeset
6 FREEBSD_SRC_TREE=/usr/home/ray/work/@HG/http_my_ddteam_net_hg_BASE_/head/
0b8aef9f486e DIR-632(Atheros AR7242) support
ray@terran.dlink.ua
parents:
diff changeset
7 else
0b8aef9f486e DIR-632(Atheros AR7242) support
ray@terran.dlink.ua
parents:
diff changeset
8 FREEBSD_SRC_TREE=/usr/1/MIPS_FreeBSD/HEAD/head
0b8aef9f486e DIR-632(Atheros AR7242) support
ray@terran.dlink.ua
parents:
diff changeset
9 fi
0b8aef9f486e DIR-632(Atheros AR7242) support
ray@terran.dlink.ua
parents:
diff changeset
10 DATE=`date +%Y-%m-%d_%H:%M`
0b8aef9f486e DIR-632(Atheros AR7242) support
ray@terran.dlink.ua
parents:
diff changeset
11
0b8aef9f486e DIR-632(Atheros AR7242) support
ray@terran.dlink.ua
parents:
diff changeset
12
0b8aef9f486e DIR-632(Atheros AR7242) support
ray@terran.dlink.ua
parents:
diff changeset
13 __MAKE_CONF=/dev/null
0b8aef9f486e DIR-632(Atheros AR7242) support
ray@terran.dlink.ua
parents:
diff changeset
14 SRCCONF=/dev/null
0b8aef9f486e DIR-632(Atheros AR7242) support
ray@terran.dlink.ua
parents:
diff changeset
15
0b8aef9f486e DIR-632(Atheros AR7242) support
ray@terran.dlink.ua
parents:
diff changeset
16 export __MAKE_CONF
0b8aef9f486e DIR-632(Atheros AR7242) support
ray@terran.dlink.ua
parents:
diff changeset
17 export SRCCONF
0b8aef9f486e DIR-632(Atheros AR7242) support
ray@terran.dlink.ua
parents:
diff changeset
18
0b8aef9f486e DIR-632(Atheros AR7242) support
ray@terran.dlink.ua
parents:
diff changeset
19 echo "build started, enter \`tail -f $0.${DATE}.log\` to view build details"
0b8aef9f486e DIR-632(Atheros AR7242) support
ray@terran.dlink.ua
parents:
diff changeset
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
0b8aef9f486e DIR-632(Atheros AR7242) support
ray@terran.dlink.ua
parents:
diff changeset
21
0b8aef9f486e DIR-632(Atheros AR7242) support
ray@terran.dlink.ua
parents:
diff changeset
22 echo ${TARGET_PAIR} firmware build done at `date`
0b8aef9f486e DIR-632(Atheros AR7242) support
ray@terran.dlink.ua
parents:
diff changeset
23