diff options
Diffstat (limited to 'INSTALL')
| -rw-r--r-- | INSTALL | 56 |
1 files changed, 56 insertions, 0 deletions
| @@ -0,0 +1,56 @@ | |||
| 1 | |||
| 2 | Liblitmus Installation Instructions | ||
| 3 | =================================== | ||
| 4 | |||
| 5 | Dependencies | ||
| 6 | ------------ | ||
| 7 | |||
| 8 | Liblitmus has no dependencies besides the kernel. During compilation, the | ||
| 9 | Makefile will attempt to copy required headers from the kernel source tree into | ||
| 10 | the library source tree. | ||
| 11 | |||
| 12 | |||
| 13 | Configuration | ||
| 14 | ------------- | ||
| 15 | |||
| 16 | The build system reads a local configuration file named '.config' (just like the | ||
| 17 | kernel, but much simpler). There are three variables that affect the | ||
| 18 | compilation process: | ||
| 19 | |||
| 20 | LITMUS_KERNEL --- Path (relative or absolute) to the LITMUS^RT kernel | ||
| 21 | source tree. The default value is | ||
| 22 | '../litmus2010'. Set this variable if you extracted | ||
| 23 | the kernel somewhere else. | ||
| 24 | |||
| 25 | ARCH --- The target architecture. Currently, liblitmus can be | ||
| 26 | build for i386, x86_64, sparc64, and arm. The default | ||
| 27 | value is the host architecture. | ||
| 28 | |||
| 29 | CROSS_COMPILE --- A prefix for the compiler and linker to use. Works | ||
| 30 | exactly like cross-compiling the kernel. By default, | ||
| 31 | this variable is not set. | ||
| 32 | |||
| 33 | Makefile Targets | ||
| 34 | ---------------- | ||
| 35 | |||
| 36 | all --- Build the library, all tools, and all tests. This is | ||
| 37 | the default. | ||
| 38 | |||
| 39 | lib --- Build only the library. | ||
| 40 | |||
| 41 | help --- Display this help. | ||
| 42 | |||
| 43 | dump-config --- Report the build configuration. Use this to debug | ||
| 44 | build problems. | ||
| 45 | |||
| 46 | clean --- Remove all build files and binaries. | ||
| 47 | |||
| 48 | TAGS --- Create a TAGS file for emacs. (Requires etags to be | ||
| 49 | installed.) | ||
| 50 | |||
| 51 | tags --- Create a tags file for vim. (Requires ctags to be | ||
| 52 | installed.) | ||
| 53 | |||
| 54 | cscope --- Create a symbol database for cscope. (Requires cscope | ||
| 55 | to be installed.) | ||
| 56 | |||
