From 9aa3b3c3f77e3399b315732c3cb57d368263c901 Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 26 Jan 2003 13:33:57 +0000 Subject: Build a file "boot" which consists of boot1 and boot2 concatenated. There is little if any reason to treat the two components separately and it will simplify disklabel(8) and libdisk if we didn't. --- sys/boot/i386/boot2/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sys/boot/i386/boot2') diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile index ec7a536..900a3d4 100644 --- a/sys/boot/i386/boot2/Makefile +++ b/sys/boot/i386/boot2/Makefile @@ -47,7 +47,10 @@ CFLAGS= -elf -ffreestanding -Os -fno-builtin \ LDFLAGS=-nostdlib -static -N --gc-sections -all: boot1 boot2 +all: boot1 boot2 boot + +boot: boot1 boot2 + cat boot1 boot2 > boot boot1: boot1.out objcopy -S -O binary boot1.out ${.TARGET} @@ -99,6 +102,8 @@ sio.o: sio.s install: ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ + boot ${DESTDIR}${BINDIR}/boot + ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ boot1 ${DESTDIR}${BINDIR}/boot1 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ boot2 ${DESTDIR}${BINDIR}/boot2 -- cgit v1.1