Subject: Re: ARM port organisation
To: None <matt@3am-software.com, port-arm32@netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: port-arm32
Date: 02/18/2001 15:36:22
In article <4.3.2.7.2.20010217213511.02812008@3am-software.com> you write:
>I have one small request.  Since everything is coming from
>arm32 (nee arm26), it would be nice to keep the conf.c
>in sys/arch/arm/arm and not have them vary.  It would make
>having a shared arm32 base kit much easier.

A simple reason why this won't work, even for the arm32 ports:  Imagine a
port which has some device specific to it.  In conf.c it wants to add an
entry to cdevsw, conditionalised on NFOO, so it has to put in a
#include "foo.h".  This doesn't work on all the other ARM ports, though,
because config(8) didn't bother creating foo.h for them, since they don't
have the device.

-- 
Ben Harris                                                   <bjh21@netbsd.org>
Portmaster, NetBSD/arm26               <URL:http://www.netbsd.org/Ports/arm26/>