annotate RUN_NQ-901.sh @ 187:f3b340294261

fix pin name (wps->reset)
author ray@terran.dlink.ua
date Tue, 02 Aug 2011 00:25:22 +0300
parents 96b52a080f89
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
87
96b52a080f89 NQ-901 begin
ray@terran.dlink.ua
parents:
diff changeset
1 #!/bin/sh
96b52a080f89 NQ-901 begin
ray@terran.dlink.ua
parents:
diff changeset
2
96b52a080f89 NQ-901 begin
ray@terran.dlink.ua
parents:
diff changeset
3 HOST=`hostname`
96b52a080f89 NQ-901 begin
ray@terran.dlink.ua
parents:
diff changeset
4 echo "'${HOST}'"
96b52a080f89 NQ-901 begin
ray@terran.dlink.ua
parents:
diff changeset
5 if [ "x${HOST}" = "xrnote.ddteam.net" ] ; then
96b52a080f89 NQ-901 begin
ray@terran.dlink.ua
parents:
diff changeset
6 FREEBSD_SRC_TREE=/usr/home/ray/work/@HG/http_my_ddteam_net_hg_BASE_/head/
96b52a080f89 NQ-901 begin
ray@terran.dlink.ua
parents:
diff changeset
7 else
96b52a080f89 NQ-901 begin
ray@terran.dlink.ua
parents:
diff changeset
8 FREEBSD_SRC_TREE=/usr/1/MIPS_FreeBSD/HEAD/head
96b52a080f89 NQ-901 begin
ray@terran.dlink.ua
parents:
diff changeset
9 fi
96b52a080f89 NQ-901 begin
ray@terran.dlink.ua
parents:
diff changeset
10 DATE=`date +%Y-%m-%d_%H:%M`
96b52a080f89 NQ-901 begin
ray@terran.dlink.ua
parents:
diff changeset
11
96b52a080f89 NQ-901 begin
ray@terran.dlink.ua
parents:
diff changeset
12
96b52a080f89 NQ-901 begin
ray@terran.dlink.ua
parents:
diff changeset
13 __MAKE_CONF=/dev/null
96b52a080f89 NQ-901 begin
ray@terran.dlink.ua
parents:
diff changeset
14 SRCCONF=/dev/null
96b52a080f89 NQ-901 begin
ray@terran.dlink.ua
parents:
diff changeset
15
96b52a080f89 NQ-901 begin
ray@terran.dlink.ua
parents:
diff changeset
16 export __MAKE_CONF
96b52a080f89 NQ-901 begin
ray@terran.dlink.ua
parents:
diff changeset
17 export SRCCONF
96b52a080f89 NQ-901 begin
ray@terran.dlink.ua
parents:
diff changeset
18
96b52a080f89 NQ-901 begin
ray@terran.dlink.ua
parents:
diff changeset
19 make TARGET_VENDOR=NorthQ TARGET_DEVICE=NQ-901 FREEBSD_SRC_TREE=${FREEBSD_SRC_TREE} TARGET_PROFILES="SMALL_ zhttpd" makefs_cd9660 kernel-install kernel_bin_oldlzma world-build world-install fwimage 2>&1 | tee $0.${DATE}.log
96b52a080f89 NQ-901 begin
ray@terran.dlink.ua
parents:
diff changeset
20