Use MACHINE_ARCH instead of MACHINE to check x86 architecture.

Pointed out by:	Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>
This commit is contained in:
KATO Takenori 1999-06-03 10:38:07 +00:00
parent c3e53c0457
commit 8326768a5c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=47704

View File

@ -1,9 +1,9 @@
# $Id: Makefile,v 1.16 1998/12/30 12:06:08 bde Exp $
# $Id: Makefile,v 1.17 1999/04/21 11:09:40 jkoshy Exp $
# This is the old aout only boot loader.
.if exists(${.CURDIR}/${MACHINE}/boot) && ${OBJFORMAT} == "aout"
SUBDIR= ${MACHINE}/boot
.elif exists(${.CURDIR}/boot) && ${MACHINE} == "i386" && ${OBJFORMAT} == "elf"
.elif exists(${.CURDIR}/boot) && ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf"
SUBDIR= boot
.endif