|
|
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
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.