This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Ecos templates for different targets with different options
Andrew Lunn wrote:
On Tue, Jun 10, 2003 at 12:31:57PM +0200, goran pantar wrote:
Hi,
I having trouble with eCos templates. I need to make a template for two
different targets, which have different values for some options.
For example: Redboot option CYGNUM_REDBOOT_SCM_FIS_FPGA_SECTORS has value 2
for first target and value 8 for second target.
I can't describe this target specific option in file
packages\redboot\current\cdl\redboot.cdl because I would mess up otherwise
generic code.
Where should I set up these options?
Create your own import files. eg: redboot uses the import files
hal/<arch>/<target>/current/misc/redboot_*.ecm.
Another option is to put CDL "requires" statements in the HALs (in options
conditional on CYGPKG_REDBOOT being in the config of course).
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss