diff options
author | phk <phk@FreeBSD.org> | 1995-03-28 19:22:43 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-03-28 19:22:43 +0000 |
commit | 533316ed98cc5850ceb916025a6e14d54d52addd (patch) | |
tree | cfc7ec65d918cce3fb373c2b044f5d8ac6efe302 /sys/i386/boot/biosboot/Makefile | |
parent | d5876fb8d36941499ec8a133d8d90b940dd37e2f (diff) | |
download | FreeBSD-src-533316ed98cc5850ceb916025a6e14d54d52addd.zip FreeBSD-src-533316ed98cc5850ceb916025a6e14d54d52addd.tar.gz |
Don't install /usr/mdec/boot
Install the biosboot as /usr/mdec/boot[12]
Make the traditional links from [swf]dboot and boot[swf]d to boot[12] files.
Install dosboot as /usr/mdec/boot/fbsdboot.exe
Diffstat (limited to 'sys/i386/boot/biosboot/Makefile')
-rw-r--r-- | sys/i386/boot/biosboot/Makefile | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/sys/i386/boot/biosboot/Makefile b/sys/i386/boot/biosboot/Makefile index df9f049..d46d36a 100644 --- a/sys/i386/boot/biosboot/Makefile +++ b/sys/i386/boot/biosboot/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.25 1995/01/20 07:52:42 wpaul Exp $ +# $Id: Makefile,v 1.26 1995/01/24 00:41:50 jkh Exp $ # PROG= boot @@ -15,10 +15,10 @@ CLEANFILES+= boot.nohdr boot.strip boot1 boot2 DPADD= ${LIBC} LDFLAGS+= -N -T 0 -nostdlib LDADD= -lc -LINKS= ${BINDIR}/sdboot ${BINDIR}/wdboot\ - ${BINDIR}/sdboot ${BINDIR}/fdboot\ - ${BINDIR}/bootsd ${BINDIR}/bootwd\ - ${BINDIR}/bootsd ${BINDIR}/bootfd +#LINKS= ${BINDIR}/sdboot ${BINDIR}/wdboot\ +# ${BINDIR}/sdboot ${BINDIR}/fdboot\ +# ${BINDIR}/bootsd ${BINDIR}/bootwd\ +# ${BINDIR}/bootsd ${BINDIR}/bootfd NOSHARED= YES NOMAN= STRIP= @@ -49,10 +49,16 @@ boot2: boot.nohdr all: boot1 boot2 -beforeinstall: +install: install ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}\ - boot1 ${DESTDIR}${BINDIR}/sdboot + boot1 ${DESTDIR}${BINDIR}/boot1 install ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}\ - boot2 ${DESTDIR}${BINDIR}/bootsd + boot2 ${DESTDIR}${BINDIR}/boot2 + for i in sd fd wd ; do \ + ( cd ${DESTDIR}${BINDIR} ; \ + rm -f boot$${i} $${i}boot ; \ + ln -s boot1 $${i}boot ; \ + ln -s boot2 boot$${i} ; ) \ + done .include <bsd.prog.mk> |