Subject: Re: CVS commit: src/usr.sbin/amd/libamu
To: Takeshi Nakayama <tn@catvmics.ne.jp>
From: Jason Thorpe <thorpej@shagadelic.org>
List: source-changes
Date: 08/09/2005 20:35:27
On Aug 9, 2005, at 8:30 PM, Takeshi Nakayama wrote:

> Amd(8) have ${arch} and ${karch} selectors. ${arch} is fetched from
> the compile-time HOST_ARCH string (it's now ${MACHINE} string). And
> ${karch} is fetched from uname(3).

I think this is historical Sun legacy ... a sparc machine might be  
sun4c, sun4m, sun4d, etc.

On NetBSD, ${arch} should probably be hw.machine_arch and ${karch}  
should probably be hw.machine, and both should be fetched at run-time.

-- thorpej