diff options
Diffstat (limited to 'sys/boot/i386/cdboot/Makefile')
-rw-r--r-- | sys/boot/i386/cdboot/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/boot/i386/cdboot/Makefile b/sys/boot/i386/cdboot/Makefile new file mode 100644 index 0000000..9e8e813 --- /dev/null +++ b/sys/boot/i386/cdboot/Makefile @@ -0,0 +1,18 @@ +# $FreeBSD$ + +MAINTAINER=jhb@FreeBSD.org + +ORG= 0x7c00 + +PROG= cdboot +NOMAN= +STRIP= +BINDIR?= /boot + +${PROG}: ${PROG}.o + ${LD} -N -e start -Ttext ${ORG} -o ${PROG}.out ${PROG}.o + objcopy -S -O binary ${PROG}.out ${.TARGET} + +CLEANFILES+= ${PROG}.o ${PROG}.out + +.include <bsd.prog.mk> |