Annotation of coherent/f/etc/conf/bin/idmkcoh, revision 1.1

1.1     ! root        1: # idmkcoh - link a COHERENT kernel
        !             2: 
        !             3: CFLAGS=${CFLAGS-"-VPSTR"}
        !             4: CC=${CC-"exec /bin/cc"}
        !             5: 
        !             6: CMD=$0
        !             7: CONF_DIR=/etc/conf
        !             8: TARGET=$CONF_DIR/coherent
        !             9: 
        !            10: usage() {
        !            11:        echo "Usage: $CMD [ -o kernel-file ] [ -r conf-dir ]"
        !            12:        echo "  Make new COHERENT system kernel."
        !            13:        echo "  kernel-file defaults to $TARGET."
        !            14:        echo "  conf-dir defaults to $CONF_DIR."
        !            15:        exit 1
        !            16: }
        !            17: 
        !            18: # Parse command line.
        !            19: 
        !            20: while [ $# -gt 0 ]
        !            21: do
        !            22:        ARG=$1
        !            23:        case $ARG in
        !            24: 
        !            25:        -o)     shift
        !            26:                TARGET=$1
        !            27:                ;;
        !            28:        -r)     shift
        !            29:                CONF_DIR=$1
        !            30:                ;;
        !            31:        *)      usage
        !            32:                ;;
        !            33:        esac
        !            34:        shift
        !            35: done
        !            36: 
        !            37: here=$CWD
        !            38: cd $CONF_DIR
        !            39: make K386LIB=/etc/conf/lib TARGET=${TARGET} || exit 1
        !            40: cd $here

unix.superglobalmegacorp.com

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