aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorDylan Baker2017-12-15 16:40:29 -0600
committerDylan Baker2018-01-12 11:40:48 -0600
commitfd9bcb73e9c5a01085069b37c2f5e04300a9b4d4 (patch)
tree6e8355a157523e612af9f2d33048e081a0a6162e /README
parentcc86cbfb1cb79ade0d2261e0a7e848bd7d14a8be (diff)
downloadexternal-libdrm-fd9bcb73e9c5a01085069b37c2f5e04300a9b4d4.tar.gz
external-libdrm-fd9bcb73e9c5a01085069b37c2f5e04300a9b4d4.tar.xz
external-libdrm-fd9bcb73e9c5a01085069b37c2f5e04300a9b4d4.zip
README: Add note about meson
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
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