This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: build error in net directory
- To: Grant Edwards <grante at visi dot com>
- Subject: Re: [ECOS] build error in net directory
- From: Gary Thomas <gthomas at redhat dot com>
- Date: Mon, 08 Jan 2001 09:43:15 -0700 (MST)
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat, Inc.
On 08-Jan-2001 Grant Edwards wrote:
> On Sun, Jan 07, 2001 at 08:27:34AM -0700, Gary Thomas wrote:
>
>> > ecosconfig new mbx
>> > ecosconfig add net
>>
>> 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, this is fine. I was just pointing out that there is also the "net"
template which does part of this automatically.