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: a question on CDL


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


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