aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL56
1 files changed, 56 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..4891f0a
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,56 @@
1
2Liblitmus Installation Instructions
3===================================
4
5Dependencies
6------------
7
8Liblitmus has no dependencies besides the kernel. During compilation, the
9Makefile will attempt to copy required headers from the kernel source tree into
10the library source tree.
11
12
13Configuration
14-------------
15
16The build system reads a local configuration file named '.config' (just like the
17kernel, but much simpler). There are three variables that affect the
18compilation 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
33Makefile 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