diff options
author | nyan <nyan@FreeBSD.org> | 2004-02-07 12:19:44 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2004-02-07 12:19:44 +0000 |
commit | a1e0ad4bf3b12f2aad6b934ea006fef4c1720e02 (patch) | |
tree | 484ffc9ed61b2bd87c53a9eb0ba2f7152a75c04a /sys/boot/pc98/boot0 | |
parent | b377ec7a9a2093b8c3c6e8c28b306c8bc7094120 (diff) | |
download | FreeBSD-src-a1e0ad4bf3b12f2aad6b934ea006fef4c1720e02.zip FreeBSD-src-a1e0ad4bf3b12f2aad6b934ea006fef4c1720e02.tar.gz |
MFi386: Cleanups to sys/boot makefiles.
Diffstat (limited to 'sys/boot/pc98/boot0')
-rw-r--r-- | sys/boot/pc98/boot0/Makefile | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/sys/boot/pc98/boot0/Makefile b/sys/boot/pc98/boot0/Makefile index 27a2a3a..eeb949a 100644 --- a/sys/boot/pc98/boot0/Makefile +++ b/sys/boot/pc98/boot0/Makefile @@ -1,20 +1,18 @@ # $FreeBSD$ -PROG= boot0 -OBJS= boot0.o -NOMAN= -STRIP= -BINDIR?= /boot -BINMODE= 444 +FILES= ${BOOT} +CLEANFILES= ${BOOT} ${BOOT}.out ${BOOT}.o -ORG= 0x0000 +BOOT= boot0 -boot0: boot0.out - objcopy -S -O binary boot0.out ${.TARGET} +# The base address that we the boot0 code to to run it. Don't change this +# unless you are glutton for punishment. +BOOT_BOOT0_ORG?= 0x0000 -boot0.out: ${OBJS} - ${LD} -N -e start -Ttext ${ORG} -o ${.TARGET} ${OBJS} +${BOOT}: ${BOOT}.out + objcopy -S -O binary ${BOOT}.out ${.TARGET} -CLEANFILES+= boot0.out +${BOOT}.out: ${BOOT}.o + ${LD} -N -e start -Ttext ${BOOT_BOOT0_ORG} -o ${.TARGET} ${BOOT}.o .include <bsd.prog.mk> |