diff options
Diffstat (limited to 'sys/i386/boot/biosboot/Makefile')
| -rw-r--r-- | sys/i386/boot/biosboot/Makefile | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/sys/i386/boot/biosboot/Makefile b/sys/i386/boot/biosboot/Makefile index e4feaf98de98..cf517706cdb9 100644 --- a/sys/i386/boot/biosboot/Makefile +++ b/sys/i386/boot/biosboot/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.67 1998/11/21 21:07:17 ache Exp $ +# $Id: Makefile,v 1.65 1998/09/15 09:59:57 gibbs Exp $ # PROG= boot @@ -6,6 +6,7 @@ PROG= boot SRCS= start.S table.c boot2.S boot.c asm.S bios.S serial.S SRCS+= probe_keyboard.c io.c disk.c sys.c +BINDIR= /usr/mdec BINMODE= 444 CFLAGS= -O2 -malign-functions=0 -malign-jumps=0 -malign-loops=0 \ -mno-486 \ @@ -59,8 +60,8 @@ BOOTSTACK= 0xFFF0 boot.strip: boot cp -p boot boot.strip - strip -aout boot.strip - size -aout boot.strip + strip boot.strip + size boot.strip boot.nohdr: boot.strip dd if=boot.strip of=boot.nohdr ibs=32 skip=1 obs=1024b @@ -81,11 +82,19 @@ boot2: boot.nohdr all: boot1 boot2 install: - ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - boot1 boot2 ${DESTDIR}${BINDIR}/ + ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}\ + boot1 ${DESTDIR}${BINDIR}/boot1 + ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}\ + boot2 ${DESTDIR}${BINDIR}/boot2 + for i in da fd wd od vn wfd ; do \ + ( cd ${DESTDIR}${BINDIR} ; \ + rm -f boot$${i} $${i}boot ; \ + ln -s boot1 $${i}boot ; \ + ln -s boot2 boot$${i} ; ) \ + done install-boothelp: - ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \ + ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}\ ${.CURDIR}/boot.help ${DESTDIR}/ .include <bsd.kern.mk> |
