diff options
author | nyan <nyan@FreeBSD.org> | 2003-01-30 14:50:25 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2003-01-30 14:50:25 +0000 |
commit | dad105a8d9ddaa78b6a2972c87584324661593f3 (patch) | |
tree | d7e19b121c704e1a4ce1f258cfb909a3603c9729 /sys | |
parent | 231eb43ab6d6b0455f2e7e4858f2e0c350882da6 (diff) | |
download | FreeBSD-src-dad105a8d9ddaa78b6a2972c87584324661593f3.zip FreeBSD-src-dad105a8d9ddaa78b6a2972c87584324661593f3.tar.gz |
MFi386: Install the "boot" image which is boot1 + boot2.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/boot/pc98/boot2/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/boot/pc98/boot2/Makefile b/sys/boot/pc98/boot2/Makefile index eec3cd7..ba5d723 100644 --- a/sys/boot/pc98/boot2/Makefile +++ b/sys/boot/pc98/boot2/Makefile @@ -47,7 +47,7 @@ CFLAGS+= -DCOMSPEED=${BOOT_COMCONSOLE_SPEED} # SCSI and have BIOS drive number (da_unit_number + BOOT_HD_BIAS). E.g., # BOOT_HD_BIAS=1 makes da(0,a) correspond to 1:da(0,a) instead of 0:da(0,a). -CLEANFILES+= boot.nohdr boot.strip boot1 boot2 sizetest +CLEANFILES+= boot.nohdr boot.strip boot.ldr boot1 boot2 sizetest LDFLAGS+= -N -Ttext 0 -nostdlib -e start NOSHARED= YES NOMAN= @@ -68,6 +68,9 @@ boot.nohdr: boot objcopy -S -O binary boot boot.nohdr ls -l boot.nohdr +boot.ldr: boot.nohdr + dd if=boot.nohdr of=boot.ldr bs=8192 count=1 conv=sync + boot1: boot.nohdr dd if=boot.nohdr of=boot1 bs=512 count=1 @@ -80,10 +83,12 @@ boot2: boot.nohdr exit 2 ; \ fi -all: boot1 boot2 +all: boot.ldr boot1 boot2 install: ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ + boot.ldr ${DESTDIR}${BINDIR}/boot + ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ boot1 boot2 ${DESTDIR}${BINDIR} # If it's not there, don't consider it a target |