Use ${MACHINE_CPU} == "m68k"

This commit is contained in:
matt 2013-07-18 21:11:47 +00:00
parent 611b1a73a0
commit 105794b79c
1 changed files with 4 additions and 3 deletions

View File

@ -1,9 +1,10 @@
# $NetBSD: Makefile,v 1.8 2010/03/30 07:26:23 mrg Exp $
# $NetBSD: Makefile,v 1.9 2013/07/18 21:11:47 matt Exp $
# from: @(#)Makefile 5.4 (Berkeley) 5/11/90
.include <bsd.own.mk> # for MACHINE_CPU
# Build ELF to {ecoff, aout} tools on m68k/powerpc, for kernels with old amigappc bootblocks.
.if (${MACHINE_ARCH} == "m68000" || \
${MACHINE_ARCH} == "m68k" || \
.if (${MACHINE_CPU} == "m68k" || \
${MACHINE_ARCH} == "powerpc" || \
${MACHINE_ARCH} == "powerpc64")
PROG= elf2aout