Dylan Baker | 5f7deb5 | 2017-09-13 11:46:13 -0700 | [diff] [blame] | 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 | |
| 21 | option( |
| 22 | 'libkms', |
| 23 | type : 'combo', |
| 24 | value : 'auto', |
| 25 | choices : ['true', 'false', 'auto'], |
| 26 | description : 'Build libkms mm abstraction library.', |
| 27 | ) |
| 28 | option( |
| 29 | 'intel', |
| 30 | type : 'combo', |
| 31 | value : 'auto', |
| 32 | choices : ['true', 'false', 'auto'], |
| 33 | description : '''Enable support for Intel's KMS API.''', |
| 34 | ) |
| 35 | option( |
| 36 | 'radeon', |
| 37 | type : 'combo', |
| 38 | value : 'auto', |
| 39 | choices : ['true', 'false', 'auto'], |
| 40 | description : '''Enable support for radeons's KMS API.''', |
| 41 | ) |
| 42 | option( |
| 43 | 'amdgpu', |
| 44 | type : 'combo', |
| 45 | value : 'auto', |
| 46 | choices : ['true', 'false', 'auto'], |
| 47 | description : '''Enable support for amdgpu's KMS API.''', |
| 48 | ) |
| 49 | option( |
| 50 | 'nouveau', |
| 51 | type : 'combo', |
| 52 | value : 'auto', |
| 53 | choices : ['true', 'false', 'auto'], |
| 54 | description : '''Enable support for nouveau's KMS API.''', |
| 55 | ) |
| 56 | option( |
| 57 | 'vmwgfx', |
| 58 | type : 'combo', |
| 59 | value : 'true', |
| 60 | choices : ['true', 'false', 'auto'], |
| 61 | description : '''Enable support for vmgfx's KMS API.''', |
| 62 | ) |
| 63 | option( |
| 64 | 'omap', |
| 65 | type : 'combo', |
| 66 | value : 'false', |
| 67 | choices : ['true', 'false', 'auto'], |
| 68 | description : '''Enable support for OMAP's experimental KMS API.''', |
| 69 | ) |
| 70 | option( |
| 71 | 'exynos', |
| 72 | type : 'combo', |
| 73 | value : 'false', |
| 74 | choices : ['true', 'false', 'auto'], |
| 75 | description : '''Enable support for EXYNOS's experimental KMS API.''', |
| 76 | ) |
| 77 | option( |
| 78 | 'freedreno', |
| 79 | type : 'combo', |
| 80 | value : 'auto', |
| 81 | choices : ['true', 'false', 'auto'], |
| 82 | description : '''Enable support for freedreno's KMS API.''', |
| 83 | ) |
| 84 | option( |
| 85 | 'tegra', |
| 86 | type : 'combo', |
| 87 | value : 'false', |
| 88 | choices : ['true', 'false', 'auto'], |
| 89 | description : '''Enable support for Tegra's experimental KMS API.''', |
| 90 | ) |
| 91 | option( |
| 92 | 'vc4', |
| 93 | type : 'combo', |
| 94 | value : 'auto', |
| 95 | choices : ['true', 'false', 'auto'], |
| 96 | description : '''Enable support for vc4's KMS API.''', |
| 97 | ) |
| 98 | option( |
| 99 | 'etnaviv', |
| 100 | type : 'combo', |
| 101 | value : 'false', |
| 102 | choices : ['true', 'false', 'auto'], |
| 103 | description : '''Enable support for etnaviv's experimental KMS API.''', |
| 104 | ) |
| 105 | option( |
| 106 | 'cairo-tests', |
| 107 | type : 'combo', |
| 108 | value : 'auto', |
| 109 | choices : ['true', 'false', 'auto'], |
| 110 | description : 'Enable support for Cairo rendering in tests.', |
| 111 | ) |
| 112 | option( |
| 113 | 'man-pages', |
| 114 | type : 'combo', |
| 115 | value : 'auto', |
| 116 | choices : ['true', 'false', 'auto'], |
| 117 | description : 'Enable manpage generation and installation.', |
| 118 | ) |
| 119 | option( |
| 120 | 'valgrind', |
| 121 | type : 'combo', |
| 122 | value : 'auto', |
| 123 | choices : ['true', 'false', 'auto'], |
| 124 | description : 'Build libdrm with valgrind support.', |
| 125 | ) |
| 126 | option( |
| 127 | 'freedreno-kgsl', |
| 128 | type : 'boolean', |
| 129 | value : false, |
| 130 | description : 'Enable support for freedreno to use downstream android kernel API.', |
| 131 | ) |
| 132 | option( |
| 133 | 'install-test-programs', |
| 134 | type : 'boolean', |
| 135 | value : false, |
| 136 | description : 'Install test programs.', |
| 137 | ) |
| 138 | option( |
| 139 | 'udev', |
| 140 | type : 'boolean', |
| 141 | value : false, |
| 142 | description : 'Enable support for using udev instead of mknod.', |
| 143 | ) |