Port-powerpc archive

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

Re: PowerMac types.h lossage



Jason Thorpe <thorpej%nas.nasa.gov@localhost> 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.




Home | Main Index | Thread Index | Old Index