Permitting the override of MACHINE_ARCH in amd64/param.h

2015-10-12 Thread Sevan Janiyan
Hi, I was wondering if it would be possible to allow the override the definition of MACHINE_ARCH /__MACHINE_ARCH in amd64/param.h by wrapping them around ifndef statement. Index: sys/arch/amd64/include/param.h === RCS file:

Re: Permitting the override of MACHINE_ARCH in amd64/param.h

2015-10-12 Thread Theo de Raadt
> I was wondering if it would be possible to allow the override the > definition of MACHINE_ARCH /__MACHINE_ARCH in amd64/param.h by wrapping > them around ifndef statement. > > Index: sys/arch/amd64/include/param.h > === > RCS file:

Re: Permitting the override of MACHINE_ARCH in amd64/param.h

2015-10-12 Thread Sevan Janiyan
On 12/10/2015 16:30, Theo de Raadt wrote: > You have failed to explain the usage case; I don't believe there is > any scenario where people benefit from more architecture divergence. As an example, in pkgsrc, CPUs architectures are grouped under a common alias so they can be addressed once

Re: Permitting the override of MACHINE_ARCH in amd64/param.h

2015-10-12 Thread Sevan Janiyan
On 12/10/2015 17:11, Theo de Raadt wrote: > You want 10 layers up of high level software, to redefine fields in > a system .h file -- for an ecosystem that isn't part of OpenBSD at > all. OpenBSD is the exception to the rule within the framework, there is no specific changes needed to the said

Re: Permitting the override of MACHINE_ARCH in amd64/param.h

2015-10-12 Thread Ted Unangst
Sevan Janiyan wrote: > > > On 12/10/2015 16:30, Theo de Raadt wrote: > > You have failed to explain the usage case; I don't believe there is > > any scenario where people benefit from more architecture divergence. > > As an example, in pkgsrc, CPUs architectures are grouped under a common >

Re: Permitting the override of MACHINE_ARCH in amd64/param.h

2015-10-12 Thread Sevan Janiyan
On 12/10/2015 18:32, Ted Unangst wrote: > just don't include or look at param.h. Looking into doing that now. Sevan