[okl4-developer] FW: OKL4: Proposal for adding platform specific packages

Frank Kaiser frank.kaiser at opensynergy.com
Fri Aug 8 19:18:36 EST 2008


Hello

 

Since the first posting attempt was bounced, I hope the issue gets its audience this way.

 

Regards

Frank

 

From: Frank Kaiser 
Sent: Friday, August 08, 2008 10:43 AM
To: 'support.opensynergy at portal.ok-labs.com'
Subject: OKL4: Proposal for adding platform specific packages

 

Hello

 

During our platform-specific driver development it came out that it is useful to add a vendor specific BSP package to the system. Itself it is not a driver, so it cannot be handled like a driver as is possible with the driver definition interface in 'platform/<platform>/tools/machines.py', but it will be used by some of the drivers. Therefore I think that there should be a method to add packages by defining them in the 'machines' script. A possible approach is the following.

·       New attribute of the platform definition class:
    packages = ["package1","package2"]

·       Evaluating the attribute in 'projects/iguana/SConstruct', line 306ff:
if hasattr(machine, "packages") and type(machine.packages) == type([]):
    for pg in machine.packages:
        if type(pg) == type("") and pg[0] != None:
             ig_env.Package(pg)

I'd appreciate if this or a similar solution could be integrated in the build system.

 

Regards

Frank Kaiser

 

OpenSynergy GmbH

Rotherstr. 9

10245 Berlin

 

Tel.:        +49 (30) 20 18 18 35 28

Fax:        +49 (30) 20 18 18 35 02

Email:   Frank.Kaiser at opensynergy.com <mailto:andre.hergenhan at opensynergy.com> 

 

www.opensynergy.com <http://www.open-synergy.com> 

 

Handelsregister: Amtsgericht Charlottenburg, HRB 108616B

Geschäftsführer: Frank-Peter Böhm, Dr. Stefaan Sonck Thiebaut, Rolf Morich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20080808/6df30ea1/attachment.htm 


More information about the Developer mailing list