summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorQiang Yu <Qiang.Yu@amd.com>2018-08-06 11:41:33 +0800
committerEmil Velikov <emil.l.velikov@gmail.com>2018-08-17 17:16:32 +0100
commit04bdbbcab3c4862bf3f54ce60fcc1d2007776f80 (patch)
treed078e5edb23a74a3aa5ac0e5ea371103b46ece7e /docs
parent0da417129e070193091452c8ffdec4df12070bc6 (diff)
downloadmesa-04bdbbcab3c4862bf3f54ce60fcc1d2007776f80.tar.gz
mesa-04bdbbcab3c4862bf3f54ce60fcc1d2007776f80.tar.bz2
mesa-04bdbbcab3c4862bf3f54ce60fcc1d2007776f80.zip
xmlconfig: read more config files from drirc.d/
Driver and application can put their drirc files in ${datadir}/drirc.d/ with name xxx.conf. Config files will be read and applied in file name alphabetic order. So there are three places for drirc listed in order: 1. /usr/share/drirc.d/ 2. /etc/drirc 3. ~/.drirc v4: fix meson build v3: 1. seperate driParseConfigFiles refine into another patch 2. fix entries[i] mem leak v2: drop /etc/drirc.d Signed-off-by: Qiang Yu <Qiang.Yu@amd.com> Acked-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/autoconf.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/autoconf.html b/docs/autoconf.html
index df243c2c325..0dd8a7b11fa 100644
--- a/docs/autoconf.html
+++ b/docs/autoconf.html
@@ -94,6 +94,13 @@ Currently there's only one config file provided when dri drivers are
enabled - it's <code>drirc</code>.</p>
</dd>
+<dt><code>--datadir=DIR</code></dt>
+<dd><p>This option specifies the directory where the data files will
+be installed. The default is <code>${prefix}/share</code>.
+Currently when dri drivers are enabled, <code>drirc.d/</code> is at
+this place.</p>
+</dd>
+
<dt><code>--enable-static, --disable-shared</code></dt>
<dd><p>By default, Mesa
will build shared libraries. Either of these options will force static