Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2009 14:30:07 GMT
From:      Andriy Gapon <avg@freebsd.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/126926: [build] [patch] Add MACHINE to dmesg
Message-ID:  <200909231430.n8NEU7Pg015924@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/126926; it has been noted by GNATS.

From: Andriy Gapon <avg@freebsd.org>
To: bug-followup@freebsd.org, gavin@freebsd.org
Cc:  
Subject: Re: kern/126926: [build] [patch] Add MACHINE to dmesg
Date: Wed, 23 Sep 2009 17:22:04 +0300

 on 23/09/2009 15:14 Andriy Gapon said the following:
 > I think that the safest bet would be to use the same thing that is used for
 > hw.machine_arch sysctl (which is used by uname).
 > And that thing is MACHINE_ARCH.
 
 It seems that I confused uname -p and uname -m.
 The latter is what we are interested in and it is provided by hw.machine sysctl.
 Although that sysctl is defined in MD code, I believe that MACHINE is the correct
 build-time define that corresponds to what gets into that sysctl.
 
 
 -- 
 Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909231430.n8NEU7Pg015924>