This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: build error in net directory
Grant Edwards wrote:
>
> On Sun, Jan 07, 2001 at 08:27:34AM -0700, Gary Thomas wrote:
>
> > Don't do it this way. The 'net' package is not self sufficient. What
> > you really want is:
> > % ecosconfig new mbx net
> >
> > The 'net' template adds both the basic network stack _and_ the ethernet
> > driver framework, which is where 'netdev.h' comes from.
>
> I've always done it like this:
>
> ecosconfig new rpsh2
> ecosconfig add CYGPKG_NET CYGPKG_IO_ETH_DRIVERS CYGPKG_DEVS_ETH_ARM_KS32C5000
>
> Is that method now depricated?
No, just errorprone given a handy alternative :-). Another approach is to
do:
ecosconfig new mbx all
ecosconfig remove uitron libm
or whatever else you _don't_ want :).
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Un cheval, pas du glue. Pas du cheval, beaucoup du glue. || Opinions==mine