Jump to content

OMK: Difference between revisions

From HW wiki
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
OMK is an acronym for Ocera Make System.
== OMK - Advanced Make-System ==


== Introduction ==
OMK is an advanced make-system used by many of our projects.


OMK is ongoing effort to create easy to use makesystem based on GNU make that allows efficient composition of software components (libraries) to form bigger projects.
More information can be found at [http://rtime.felk.cvut.cz/omk/ OMK Homepage].


Since there the project is still in a development phase, there is almost no documentation. Sorry.
[[Category:Software]]
 
== Directives used in Makefile.omk files ==
 
=== Configuration Files ===
 
; default_CONFIG : declares configuration variables and specifies their default values. Values can be '''y''', '''n''' and '''m'''.
 
default_CONFIG = CONFIG_HIGH_RES_TIMERS=y DEBUG=n
 
==== Export of configuration to header files ====
 
; config_include_HEADERS : defines the name of global header file, which will contains definitions of some symbols from config file (<tt>config.omk</tt>), whose value is '''y''' or '''m'''.
; ''xxx''_DEFINES : controls which configuration variables should appear in header file ''xxx''.h
 
Example:
config_include_HEADERS = config.h
config_DEFINES = CONFIG_HIGH_RES_TIMERS
 
; LOCAL_CONFIG_H : specifies the name of header file, which is available to sources in current directory and which will contain all definitions of default_CONFIG in the current directory.
 
Example:
LOCAL_CONFIG_H = lincan_config.h
INCLUDES = -I .
 
== OMK System Development and External Resources ==
 
* [http://rtime.felk.cvut.cz/darcs/darcsweb.cgi?r=omk Darcs repository for OMK development]
* [http://ocera.cvs.sourceforge.net/*checkout*/ocera/ocera/components/comm/can/README.makerules Makefile Rules README File]
* [http://rtime.felk.cvut.cz/hw/index.php/H8300-boot#Using_KDevelop_for_development Using KDevelop with OMK for embedded targets]

Latest revision as of 12:37, 18 January 2010

OMK - Advanced Make-System

OMK is an advanced make-system used by many of our projects.

More information can be found at OMK Homepage.