diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/RUN_DIR-632.k.sh	Thu Jul 07 17:54:55 2011 +0300
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+HOST=`hostname`
+echo "'${HOST}'"
+if [ "x${HOST}" = "xrnote.ddteam.net" ] ; then
+FREEBSD_SRC_TREE=/usr/home/ray/work/@HG/http_my_ddteam_net_hg_BASE_/head/
+else
+FREEBSD_SRC_TREE=/usr/1/MIPS_FreeBSD/HEAD/head
+fi
+DATE=`date +%Y-%m-%d_%H:%M`
+
+
+__MAKE_CONF=/dev/null
+SRCCONF=/dev/null
+
+export __MAKE_CONF
+export SRCCONF
+
+echo "build started, enter \`tail -f $0.${DATE}.log\` to view build details"
+make TARGET_PAIR=D-Link/DIR-632 FREEBSD_SRC_TREE=${FREEBSD_SRC_TREE} kernel.oldlzma.uboot 2>&1 | tee $0.${DATE}.log > /dev/null
+
+echo ${TARGET_PAIR} firmware build done at `date`
+