This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: a question on CDL
- From: "sandeep kumar" <sandeep at codito dot com>
- To: "kneep" <caozhiyuan at hotmail dot com>, <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 6 Apr 2004 19:33:09 +0530
- Subject: Re: [ECOS] a question on CDL
- Organization: Codito Technologies Pvt. Ltd.
- References: <20040406211109.4947.CAOZHIYUAN@hotmail.com>
hi kneep,
> can anyone explain the difference between the properties
> 'requires' and 'active_if'?
say, inclusion of feature A *requires* certain conditions to be necessarily
satisfied, viz. presence of some other package, presence/absence of yet some
other features.
for eg. package CYGPKG_SNMPAGENT *requires* CYGPKG_IO package to be present, 0
!= CYGINT_ISO_STRING_STRFUNCS , and so on..
*require* is what helps in conflict resolution.
while *activeif* deals with menu-selection. for ex. choice for building
CYGSEM_SNMPAGENT_TESTS_SNMPv3 makes sense and is *activeif* only when
CYGPKG_SNMPAGENT_V3_SUPPORT is (present and) enabled.
If you are conversant with Linux menu configuration, you can think of eCos
activeif as equivalent of Linux bool.
Please correct me, if i seem to be off.
regards
sandeep
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss