summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/stand/boot/Makefile4
-rw-r--r--sys/arch/i386/stand/fdboot/Makefile10
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"