diff options
author | ru <ru@FreeBSD.org> | 2004-02-06 21:58:32 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-02-06 21:58:32 +0000 |
commit | 21fda7ee48f465c5fc64f99bf64397595d205484 (patch) | |
tree | 77a2225b4e0eca9d79fcb1ab7afde8fa690843f6 /sys/boot/i386/mbr/Makefile | |
parent | 55923d02028e15a90b63351ec63715c3a5350090 (diff) | |
download | FreeBSD-src-21fda7ee48f465c5fc64f99bf64397595d205484.zip FreeBSD-src-21fda7ee48f465c5fc64f99bf64397595d205484.tar.gz |
First round of cleanups to sys/boot/ makefiles:
- do not use PROG for what's not a real C program,
- use sys.mk transformation rules where possible,
- only create the "machine" symlink on AMD64,
- removed MAINTAINER lines in individual makefiles,
- added the LIBSTAND defitinion to <bsd.libnames.mk>,
- somewhat better contents in .depend files.
Tested on: i386, amd64
Prodded by: bde
Diffstat (limited to 'sys/boot/i386/mbr/Makefile')
-rw-r--r-- | sys/boot/i386/mbr/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/sys/boot/i386/mbr/Makefile b/sys/boot/i386/mbr/Makefile index 8fa64e1..7a40111 100644 --- a/sys/boot/i386/mbr/Makefile +++ b/sys/boot/i386/mbr/Makefile @@ -1,16 +1,15 @@ # $FreeBSD$ -PROG= mbr -NOMAN= -STRIP= -BINMODE= 444 +FILES= ${BOOT} +CLEANFILES= ${BOOT} ${BOOT}.out ${BOOT}.o +BOOT= mbr ORG= 0x600 -mbr: mbr.o - ${LD} -N -e start -Ttext ${ORG} -o mbr.out mbr.o - objcopy -S -O binary mbr.out ${.TARGET} +${BOOT}: ${BOOT}.out + objcopy -S -O binary ${BOOT}.out ${.TARGET} -CLEANFILES+= mbr.out mbr.o +${BOOT}.out: ${BOOT}.o + ${LD} -N -e start -Ttext ${ORG} -o ${.TARGET} ${BOOT}.o .include <bsd.prog.mk> |