# /conf/ldker
# Build COHERENT kernel into /mnt/coherent
cd /conf
. /tmp/ldker
(/bin/ld $KBUNDEF $HDUNDEF -o /mnt/coherent kernel321.o $KB $HD \
	mm.a tty.a support.a kl.a \
	&& /conf/patch /mnt/coherent $KBPATCH $HDPATCH \
	&& /conf/patch /mnt/coherent drvl_+30=lpcon_ drvl_+40=flcon_ \
	   drvl_+80=rmcon_ ) || echo 'Kernel link failed' && exit 1
chmod 400 /mnt/coherent
chown sys /mnt/coherent
chgrp sys /mnt/coherent
