tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Guidelines for choosing MACHINE & MACHINE_ARCH?



On Fri, May 01, 2015 at 07:48:37PM +0200, Joerg Sonnenberger wrote:
 > On Fri, May 01, 2015 at 01:58:34PM -0300, Leandro Santi wrote:
 > > A quick look at build.sh shows that one of the first things that
 > > needs to be done is to map the MACHINE name to the CPU architecture
 > > name, i.e. MACHINE_ARCH. I noticed that some ports set
 > > MACHINE=MACHINE_ARCH, but some others don't. Which leads me to the
 > > following: what are the guidelines for choosing these names?
 > 
 > If reasonably possible, use MACHINE=MACHINE_ARCH=whatever config.guess
 > uses for the platform. A lot of the different MACHINE values are due to
 > historical reasons annd wouldn't happen again.

I think keeping evb* for boards makes sense, though.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index