This is the mail archive of the ecos-discuss@sourceware.org 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: How to modify CFLAGS within an ECM file?


> Take a look at:
>
> http://ecos.sourceware.org/docs-latest/cdl-guide/language.values.html
>
> In particular the first example after the table of operators, the
> example in the section Functions, and the documentation for is_substr()
>


I get this error while trying to import my .ecm file:
---------------------------------------------------------------------
option CYGBLD_GLOBAL_CFLAGS: error
    invalid command name "requires"




The ecm file looks like this:
--------------------------------------
cdl_option CYGBLD_GLOBAL_CFLAGS {
    requires { is_substr(CYGBLD_GLOBAL_CFLAGS, " -O2") }
};


Do .ecm files have the same commands as .cdl?

Thanks!
Mike

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