summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/gptboot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/i386/gptboot/Makefile')
-rw-r--r--sys/boot/i386/gptboot/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile
index 66f1352..364c21f 100644
--- a/sys/boot/i386/gptboot/Makefile
+++ b/sys/boot/i386/gptboot/Makefile
@@ -93,13 +93,11 @@ boot2.h: boot1.out
ORG1=`printf "%d" ${ORG1}` \
REL1=`printf "%d" ${REL1}` > ${.TARGET}
-.if defined(REALLY_AMD64)
+.if ${MACHINE_ARCH} == "amd64"
boot2.s: machine
-
+CLEANFILES+= machine
machine:
ln -sf ${.CURDIR}/../../../i386/include machine
-
-CLEANFILES+= machine
.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud