Changes between Version 1 and Version 2 of BuildSystem


Ignore:
Timestamp:
Oct 7, 2009, 7:30:17 PM (15 years ago)
Author:
Nicolas Pouillon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildSystem

    v1 v2  
    3434   An absolute path to the directory containing the objects and results, this defaults to `.`
    3535 `CONF_DIR`::
    36    An absolute path to the directory containing the {{{.config.*}}} files, this defaults to `.`
     36   An absolute path to the directory containing the {{{.config.*}}} files, this defaults to `$(BUILD_DIR)`
     37
     38== Make targets ==
     39
     40The following targets are available
     41
     42 `kernel`::
     43   This is the default targets. It builds the kernel for the specified configuration file.
     44 `clean`::
     45   This cleans all the compilation results
     46
     47The following targets are for informational purposes
     48
     49 `showpaths`::
     50   This prints the modules that will be built, their paths, …
     51 `cflags`::
     52   This prints the flags used for compilation
     53
     54The following targets are available to get help about configuration
     55
     56 `listconfig`::
     57   Prints the current configuration as expanded by MutekH build system. It also prints available --- but currently undefined --- configuration tokens.
     58 `listallconfig`::
     59   Prints all the configuration tokens, even the ones incompatible with the current configuration.
     60 `showconfig`::
     61   This prints detailed information about a given configuration token. Token must be specified with `TOKEN=` variable argument.
     62   {{{
     63$ make showconfig TOKEN=CONFIG_PTHREAD
     64}}}
    3765
    3866== MutekH configuration files ==
     
    6896}}}
    6997
    70 A configuration file may declare a new module, telling the build system the directory where the configuration file lies has a Makefile and some more objects to build.
     98A configuration file may declare a new module, telling the build system the directory where the configuration lies has a local Makefile and some more objects to build.
    7199{{{
    72100# New source code module to be compiled