File:  [MW Coherent from dump] / coherent / f / etc / conf / bin / idmkcoh
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:40 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

# idmkcoh - link a COHERENT kernel

CFLAGS=${CFLAGS-"-VPSTR"}
CC=${CC-"exec /bin/cc"}

CMD=$0
CONF_DIR=/etc/conf
TARGET=$CONF_DIR/coherent

usage() {
	echo "Usage: $CMD [ -o kernel-file ] [ -r conf-dir ]"
	echo "	Make new COHERENT system kernel."
	echo "	kernel-file defaults to $TARGET."
	echo "	conf-dir defaults to $CONF_DIR."
	exit 1
}

# Parse command line.

while [ $# -gt 0 ]
do
	ARG=$1
	case $ARG in

	-o)	shift
		TARGET=$1
		;;
	-r)	shift
		CONF_DIR=$1
		;;
	*)	usage
		;;
	esac
	shift
done

here=$CWD
cd $CONF_DIR
make K386LIB=/etc/conf/lib TARGET=${TARGET} || exit 1
cd $here

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.