[ECOS] CDL: how do I access cdl_options within define_proc?
Bart Veer
bartv@ecoscentric.com
Sat Feb 19 11:40:00 GMT 2005
>>>>> "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
More information about the Ecos-discuss
mailing list