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