This is the mail archive of the ecos-discuss@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: CDL: how do I access cdl_options within define_proc?


>>>>> "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


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