Subject: Re: PowerMac types.h lossage
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Charles M. Hannum <mycroft@MIT.EDU>
List: port-powerpc
Date: 02/25/1998 21:49:49
Jason Thorpe <thorpej@nas.nasa.gov> writes:
>
> What sort of interactions are there associated with doing:
>
> machine powermac powerpc
>
> ...I belive that causes config(8) to bring in both:
>
> arch/powermac/conf/files.powermac
> and
> arch/powerpc/conf/files.powerpc
>
> ...which would be wrong in that some unnecessary files would be included.
Worse than that, it causes duplicate definitions. I already ran into
this, because changing the .h files as I suggested requires having a
`powerpc' link in the kernel compile directory.
> I wanted to solve this by creating sys/cpu/{m68k,powerpc}, but there were
> some interesting issues revolving around exporting header files, etc.
And sys/cpu/mips.
> Any thoughts on this?
I think we should `just do' sys/cpu.