summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/boot/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/boot/Makefile b/sys/boot/Makefile
index 06cffb1..0d6441d 100644
--- a/sys/boot/Makefile
+++ b/sys/boot/Makefile
@@ -9,9 +9,12 @@ SUBDIR+= ficl
.endif
# Pick the machine-dependent subdir based on the target architecture.
-ADIR= ${MACHINE:S/amd64/i386/:S/powerpc64/powerpc/}
+ADIR= ${MACHINE:S/powerpc64/powerpc/}
.if exists(${.CURDIR}/${ADIR}/.)
SUBDIR+= ${ADIR}
.endif
+.if ${MACHINE} == "amd64"
+SUBDIR+= i386
+.endif
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud