#!/bin/bash

SCRIPTNAME=`basename $0`
PATHNAME=`dirname $0`

if [ ! "$PATHNAME" = "."  ]; then
	echo Error: \'$SCRIPTNAME\' can only be executed from its own location
	exit 1
fi

export OPENWRT_ROOT="$PWD"
export PLAZA_ROOT=~

make world V=99 2>&1 | tee logfile

