[okl4-developer] OKL4 2.1: Symbols 'platform' and 'platform_dir' in machine definition class of platform/<xxx>/tools/machine.py
Frank Kaiser
frank.kaiser at opensynergy.com
Fri Jul 11 01:13:10 EST 2008
Hi, Geoffrey
Please see below.
Regards
Frank
> -----Original Message-----
> From: Geoffrey Lee [mailto:glee at ok-labs.com]
> Sent: Wednesday, July 09, 2008 11:11 AM
> To: Frank Kaiser
> Cc: developer at okl4.org
> Subject: Re: [okl4-developer] OKL4 2.1: Symbols 'platform' and
'platform_dir' in
> machine definition class of platform/<xxx>/tools/machines.py
>
> On Wed, Jul 09, 2008 at 10:58:34AM +0200, Frank Kaiser wrote:
>
> ...
>
> You can use machine.__name__ to get the name of the machine as
> a text string, rather than testing for the platform value.
>
I do not see, how this hint can help me. Within
'platform/<platform_dir>/tools/machines.py' I have no means to influence
the mapping between the platform name and its directory as long as
'pistachio/SConscript' handles the interpretation of the symbols
'platform' and 'platform_dir' the way I have described. If I'd have to
change something outside my platform files anyway, then I could well
stay with the change in 'pistachio/SConscript' I have already done.
Since you have agreed that the 'subplatform' approach will not work with
my constraints, I'd appreciate if a solution could be implemented that
allows sharing of a platform directory solely by settings in
'machines.py'.
>
> >
> > Regards
> > Frank
>
> -gl
>
> >
>
> --
More information about the Developer
mailing list