Subject: Re: MACHINE_ARCH vs. OBJ_ARCH
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Todd Vierling <tv@pobox.com>
List: tech-toolchain
Date: 07/26/1998 17:31:56
On Sun, 26 Jul 1998, Jonathan Stone wrote:

: And more to the point, if the target machine is a mipseb64, then
: you're saying we can't install it.  Or should we never list mipseb in
: ${MACHINE_ARCH} unless we also add mipseb64?

I'm going to rewrite the ONLY_FOR_ARCHS rule such that it can use glob-style
wildcards.  It's easy to do:

.if defined(ONLY_FOR_ARCHS)
.for __ARCH in ${ONLY_FOR_ARCHS}
.if ${MACHINE_ARCH:M${__ARCH}} != ""
__ARCH_OK?=     1
.endif
.endfor
.else
__ARCH_OK?=     1
.endif

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)