diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2012-10-13 14:10:36 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2012-10-13 14:10:36 +0000 |
commit | 8cdd6d31762f6a56ded326867727a9616688ae68 (patch) | |
tree | e8b2d4f8d688af316c34fd6c91079744636c7c59 /sys/arch/i386/stand | |
parent | 7784d30e229c1ad7417ec3be12d51970d9c7b7c8 (diff) |
Only build fdboot on the appropriate architectures. Also fix the path to
check-boot.pl so that it works with both boot and fdboot.
Diffstat (limited to 'sys/arch/i386/stand')
-rw-r--r-- | sys/arch/i386/stand/boot/Makefile | 4 | ||||
-rw-r--r-- | sys/arch/i386/stand/fdboot/Makefile | 10 |
2 files changed, 8 insertions, 6 deletions
diff --git a/sys/arch/i386/stand/boot/Makefile b/sys/arch/i386/stand/boot/Makefile index d4b0471601d..b8c1f3e7432 100644 --- a/sys/arch/i386/stand/boot/Makefile +++ b/sys/arch/i386/stand/boot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.43 2012/10/12 15:03:22 jsing Exp $ +# $OpenBSD: Makefile,v 1.44 2012/10/13 14:10:35 jsing Exp $ .include "${.CURDIR}/../Makefile.inc" @@ -57,7 +57,7 @@ CLEANFILES+= ${PROG}.new ${PROG}: $(OBJS) $(LD) $(LDFLAGS) -o ${PROG}.new $(OBJS) - @perl ${.CURDIR}/check-boot.pl ${PROG}.new + @perl ${SADIR}/boot/check-boot.pl ${PROG}.new @mv ${PROG}.new ${PROG} @$(SIZE) ${PROG} diff --git a/sys/arch/i386/stand/fdboot/Makefile b/sys/arch/i386/stand/fdboot/Makefile index ffce0e5c0b9..5165a5f1fb4 100644 --- a/sys/arch/i386/stand/fdboot/Makefile +++ b/sys/arch/i386/stand/fdboot/Makefile @@ -1,11 +1,13 @@ -# $OpenBSD: Makefile,v 1.1 2012/10/12 14:00:02 jsing Exp $ - -PROG= fdboot -COPTS= -DFDBOOT +# $OpenBSD: Makefile,v 1.2 2012/10/13 14:10:35 jsing Exp $ MAN= MLINKS= +.if ${MACHINE} == "i386" +PROG= fdboot +COPTS= -DFDBOOT +.endif + .PATH: ${.CURDIR}/../boot .include "${.CURDIR}/../boot/Makefile" |