• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright © 2017 Intel Corporation
2
3# Permission is hereby granted, free of charge, to any person obtaining a copy
4# of this software and associated documentation files (the "Software"), to deal
5# in the Software without restriction, including without limitation the rights
6# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7# copies of the Software, and to permit persons to whom the Software is
8# furnished to do so, subject to the following conditions:
9
10# The above copyright notice and this permission notice shall be included in
11# all copies or substantial portions of the Software.
12
13# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19# SOFTWARE.
20
21option(
22  'intel',
23  type : 'feature',
24  description : '''Enable support for Intel's KMS API.''',
25)
26option(
27  'radeon',
28  type : 'feature',
29  description : '''Enable support for radeons's KMS API.''',
30)
31option(
32  'amdgpu',
33  type : 'feature',
34  description : '''Enable support for amdgpu's KMS API.''',
35)
36option(
37  'nouveau',
38  type : 'feature',
39  description : '''Enable support for nouveau's KMS API.''',
40)
41option(
42  'vmwgfx',
43  type : 'feature',
44  description : '''Enable support for vmgfx's KMS API.''',
45)
46option(
47  'omap',
48  type : 'feature',
49  value : 'disabled',
50  description : '''Enable support for OMAP's experimental KMS API.''',
51)
52option(
53  'exynos',
54  type : 'feature',
55  value : 'disabled',
56  description : '''Enable support for EXYNOS's experimental KMS API.''',
57)
58option(
59  'freedreno',
60  type : 'feature',
61  description : '''Enable support for freedreno's KMS API.''',
62)
63option(
64  'tegra',
65  type : 'feature',
66  value : 'disabled',
67  description : '''Enable support for Tegra's experimental KMS API.''',
68)
69option(
70  'vc4',
71  type : 'feature',
72  description : '''Enable support for vc4's KMS API.''',
73)
74option(
75  'etnaviv',
76  type : 'feature',
77  description : '''Enable support for etnaviv's KMS API.''',
78)
79option(
80  'cairo-tests',
81  type : 'feature',
82  description : 'Enable support for Cairo rendering in tests.',
83)
84option(
85  'man-pages',
86  type : 'feature',
87  description : 'Enable manpage generation and installation.',
88)
89option(
90  'valgrind',
91  type : 'feature',
92  description : 'Build libdrm with valgrind support.',
93)
94option(
95  'freedreno-kgsl',
96  type : 'boolean',
97  value : false,
98  description : 'Enable support for freedreno to use downstream android kernel API.',
99)
100option(
101  'install-test-programs',
102  type : 'boolean',
103  value : false,
104  description : 'Install test programs.',
105)
106option(
107  'udev',
108  type : 'boolean',
109  value : false,
110  description : 'Enable support for using udev instead of mknod.',
111)
112option(
113  'tests',
114  type : 'boolean',
115  value : true,
116  description : 'Build test programs.',
117)
118