aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README24
1 files changed, 21 insertions, 3 deletions
diff --git a/README b/README
index 26cab9d3..f3df9ac1 100644
--- a/README
+++ b/README
@@ -15,9 +15,27 @@ with an older kernel.
15Compiling 15Compiling
16--------- 16---------
17 17
18libdrm is a standard autotools package and follows the normal 18libdrm has two build systems, a legacy autotools build system, and a newer
19configure, build and install steps. The first step is to configure 19meson build system. The meson build system is much faster, and offers a
20the package, which is done by running the configure shell script: 20slightly different interface, but otherwise provides an equivalent feature set.
21
22To use it:
23
24 meson builddir/
25
26By default this will install into /usr/local, you can change your prefix
27with --prefix=/usr (or `meson configure builddir/ -Dprefix=/usr` after
28the initial meson setup).
29
30Then use ninja to build and install:
31
32 ninja -C builddir/ install
33
34If you are installing into a system location you will need to run install
35separately, and as root.
36
37
38Alternatively you can invoke autotools configure:
21 39
22 ./configure 40 ./configure
23 41