changeset 179:eb885b72f2aa

Soekris_4501 helper script
author ray@terran.dlink.ua
date Tue, 05 Jul 2011 12:38:17 +0300
parents e3cc848d8ca3
children adee224d5883
files RUN_Soekris_4501.sh
diffstat 1 files changed, 24 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/RUN_Soekris_4501.sh	Tue Jul 05 12:38:17 2011 +0300
@@ -0,0 +1,24 @@
+#!/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=Soekris/4501 FREEBSD_SRC_TREE=${FREEBSD_SRC_TREE} kernel rootfs.ffs 2>&1 | tee $0.${DATE}.log > /dev/null
+
+
+echo ${TARGET_PAIR} firmware build done at `date`
+