This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: difference between active / enabled components?
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Luqman Munawar <haqim1 at gmx dot de>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Fri, 15 Feb 2008 16:36:52 +0100
- Subject: Re: [ECOS] difference between active / enabled components?
- References: <20080215144826.206640@gmx.net>
On Fri, Feb 15, 2008 at 03:48:26PM +0100, Luqman Munawar wrote:
> hello,
>
> I have a general question regarding the difference between an active and enabled option/components.
>
> I have checked that there is a define for every option that is both active and enabled otherwise no define is created in the headers.
>
> So what is the use of having both of them?
Active and enabled are two different concepts in CDL. See
http://ecos.sourceware.org/docs-latest/cdl-guide/language.properties.html
Basically, the active property indicates if the option can be
used. i.e. all the requirements of the option/package are fulfilled
and all its parents in the hierarchy are enabled. If the property is
active, you can then enable/disable it.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss