| 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 | |
| | 40 | The 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 | |
| | 47 | The 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 | |
| | 54 | The 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 | }}} |