This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ECOS] libc stdio package dependency wrong?


Koeller, T. wrote:
Jonathan Larmour wrote:

we can get

away with something like

requires { (CYGDAT_LIBC_STDIO_DEFAULT_CONSOLE=="/dev/ttydiag" ? CYGPKG_IO_SERIAL_HALDIAG : 1) }
Here's the patch, works as expected.

Thanks, committed.


Jifl


--- packages-orig/language/c/libc/stdio/current/ChangeLog 2003-08-20 10:58:11.000000000 +0200 +++ packages/language/c/libc/stdio/current/ChangeLog 2003-09-03 16:58:04.000000000 +0200 @@ -1,3 +1,7 @@ +2003-09-03 Thomas Koeller <thomas.koeller@baslerweb.com> + + * cdl/stdio.cdl: only require "/dev/haldiag" if actually using it. + 2003-08-12 Scott Wilkinson <scott@alliantnetworks.com> * src/common/fclose.cxx (fclose): fclose would seg-fault if passed --- packages-orig/language/c/libc/stdio/current/cdl/stdio.cdl 2003-03-06 21:57:26.000000000 +0100 +++ packages/language/c/libc/stdio/current/cdl/stdio.cdl 2003-09-03 16:17:36.000000000 +0200 @@ -58,7 +58,6 @@ include_dir cyg/libc/stdio parent CYGPKG_LIBC requires CYGPKG_IO - requires CYGPKG_IO_SERIAL_HALDIAG requires CYGPKG_LIBC_I18N implements CYGINT_ISO_STDIO_FILETYPES implements CYGINT_ISO_STDIO_FILEACCESS @@ -67,6 +66,8 @@ implements CYGINT_ISO_STDIO_DIRECT_IO implements CYGINT_ISO_STDIO_ERROR implements CYGINT_ISO_STDIO_STREAMS + requires { (CYGDAT_LIBC_STDIO_DEFAULT_CONSOLE == "\"/dev/ttydiag\"" ? \ + CYGPKG_IO_SERIAL_HALDIAG : 1) } requires { CYGBLD_ISO_STDIO_FILETYPES_HEADER == \ "<cyg/libc/stdio/stdio.h>" } requires { CYGBLD_ISO_STDIO_FILEACCESS_HEADER == \


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]