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