This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: inclusion of kapi.h in/ecos/packages/io/fileio/current/include/fileio.h
- From: Bart Veer <bartv at ecoscentric dot com>
- To: bob dot koninckx at o-3s dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 24 Feb 2005 22:38:06 +0000 (GMT)
- Subject: Re: [ECOS] inclusion of kapi.h in/ecos/packages/io/fileio/current/include/fileio.h
- References: <1109282973.9265.11.camel@pc-006.vuilenbos.net>
>>>>> "Bob" == Bob Koninckx <bob.koninckx@o-3s.com> writes:
Bob> After upgrading my tree to latest CVS, redboot no longer
Bob> compiles due to the inclusion from the subject. (I use jffs2
Bob> with redboot)
Bob> Seems like cdl should at least impose a dependency on the
Bob> kernel package. Otoh, I do not like this too much as it is no
Bob> longer possible to share the flash filesystem between the
Bob> application and redboot, something we 've been doing a lot
Bob> lately.
Bob> Of course, I may be missing something.
Bob> Anybody any comments ?
File I/O functionality should be available in a non-kernel
configuration. It looks like the patch that broke this was
http://ecos.sourceware.org/ml/ecos-patches/2004-12/msg00002.html,
aimed at making select() more efficient. The select support is
active_if CYGPKG_KERNEL.
I suspect that the #include for kapi.h and the "Select support"
section lower down should be wrapped in a #ifdef
CYGFUN_IO_FILEIO_SELECT.
Bart
--
Bart Veer eCos Configuration Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
>>>>> Visit us in booth 2539 at Embedded Systems Conference 2005 <<<<<
>>>>> March 8 - 10, San Francisco http://www.embedded.com/esc/sf <<<<<
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss