summaryrefslogtreecommitdiffstats
path: root/sys/boot/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/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/Makefile')
-rw-r--r--sys/boot/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/boot/Makefile b/sys/boot/Makefile
index 8dbf1b1..aa2c19c 100644
--- a/sys/boot/Makefile
+++ b/sys/boot/Makefile
@@ -1,9 +1,5 @@
# $FreeBSD$
-.if ${MACHINE_ARCH} == "amd64"
-.MAKEFLAGS: MACHINE_ARCH=i386 MACHINE=i386 REALLY_AMD64=true
-.endif
-
.if !defined(NOFORTH)
# Build the add-in FORTH interpreter.
SUBDIR+= ficl
@@ -15,7 +11,7 @@ SUBDIR+= ofw
.endif
# Pick the machine-dependent subdir based on the target architecture.
-SUBDIR+= ${MACHINE}
+SUBDIR+= ${MACHINE:S/amd64/i386/}
# Build ARC / AlphaBIOS executable on the Alpha
# (this is a WIP (work in progress)).
OpenPOWER on IntegriCloud