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
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: goran pantar <goran dot pantar at xylon dot hr>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 10 Jun 2003 12:36:01 +0200
- Subject: Re: [ECOS] Ecos templates for different targets with different options
- References: <NCEFIDBAPAHJHKAMCEEDOEOICCAA.goran.pantar@xylon.hr>
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.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss