[ros-dev] rbuild: module attributes

Emanuele Aliberti ea at iol.it
Sat Jul 30 11:26:12 CEST 2005


Hi all,

I think the *module* node needs two more attributes - *subsystem* and 
*windows* - because at present module type and module subsystem are 
merged in the *type*  attribute and its values are a bit confusing to 
me; also cui/gui information is hidden into value names.

I don't know the rbuild code and I can't therefore say if it is an easy 
task splitting the logic behind the *type* attribute into tree 
attributes whitout affecting the whole program logic.

A short rationale follows.

___

Valid values for the *type* attribute should be:
- library (static)
- hal
- driver
- program
- dll

Valid values for the *subsystem* attribute should be:
- none
- native
- windows
- posix
- os2
- vms
(default "windows"; "none" required for type "library"; "native" 
required for types "hal", "driver")

Valid values for the *windows* attribute should be:
- no
- yes
(default "no"; "no" required for types "library", "hal", "driver")

___

Examples:

*ntdll.dll*

<module name="ntdll" type="dll" ...>

note that, at present, it is incorrectly described this way

<module name="ntdll" type="dll" subsystem="native" ...>

*ntoskrnl.exe*

<module name="ntoskrnl" type="program" subsystem="native" ...>

*atapi.sys*

<module name="atapi" type="driver" subsystem="native" ...>


-- 
:Emanuele Aliberti



More information about the Ros-dev mailing list