[ECOS] libc stdio package dependency wrong?

Jonathan Larmour jifl@eCosCentric.com
Wed Sep 3 03:07:00 GMT 2003


Koeller, T. wrote:
> Hi,
> 
> the stdio package (CYGPKG_LIBC_STDIO) requires
> CYGPKG_IO_SERIAL_HALDIAG. Is this intended? I
> want to use a regular /dev/tyyx device instead,
> so I could get rid of the haldiag device, but I
> can't because of this dependency.
> 
> Wouldn't it be better to have a cdl_interface
> for tty drivers to implement and use that instead
> of requiring the haldiag driver?

Nah, just want to catch the simple case. Instead, I think we can get away 
with something like

requires { (CYGDAT_LIBC_STDIO_DEFAULT_CONSOLE=="/dev/ttydiag" ? 
CYGPKG_IO_SERIAL_HALDIAG : 1) }

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list