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