summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/boot2/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-02-07 08:10:07 +0000
committerru <ru@FreeBSD.org>2004-02-07 08:10:07 +0000
commitc12bb13bb30379f6de760a585c705d0bf54bf90b (patch)
treef23c29971d126d8aa345d6b13ad6e793732cfe47 /sys/boot/i386/boot2/Makefile
parent3ebf28da6658db281ed46b93dbd2332f1d9c4256 (diff)
downloadFreeBSD-src-c12bb13bb30379f6de760a585c705d0bf54bf90b.zip
FreeBSD-src-c12bb13bb30379f6de760a585c705d0bf54bf90b.tar.gz
Untangle building of AMD64 boot code.
Tested on: amd64 (sledge)
Diffstat (limited to 'sys/boot/i386/boot2/Makefile')
-rw-r--r--sys/boot/i386/boot2/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile
index 66f1352..364c21f 100644
--- a/sys/boot/i386/boot2/Makefile
+++ b/sys/boot/i386/boot2/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