This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: CDL: how do I access cdl_options within define_proc?
- From: Bart Veer <bartv at ecoscentric dot com>
- To: keller at metrolab dot ch
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Sat, 19 Feb 2005 11:40:11 +0000 (GMT)
- Subject: Re: [ECOS] CDL: how do I access cdl_options within define_proc?
- References: <000001c51616$f47c8520$5c01000a@DMETROLAB.COM>
>>>>> "Philip" == Philip Keller <keller@metrolab.ch> writes:
Philip> Hi,
Philip> I'm trying to something like:
Philip> cdl_option CYGNUM_JUNK {
Philip> ...
Philip> define_proc {
Philip> puts $cdl_header [join "CYGNUM_JUNK = $CYGNUM_JUNK"]
Philip> }
Philip> }
Philip> except this blows away configtool. What's the right way to
Philip> access the value of an option within a define_proc?
The CDL language has no support for anything like this at present. The
original design did include scripting support so that you could write
things like [cdl_get CYGNUM_JUNK], but that part of the design has not
yet been implemented.
Bart
--
Bart Veer eCos Configuration Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
Besuchen Sie uns vom 22-24.02.05 auf der Embedded World 2005, Stand 11-124
Visit us at Embedded World 2005, Nürnberg, Germany, 22-24 Feb, Stand 11-124
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss