summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/i915
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-10-25 16:54:53 -0700
committerDylan Baker <[email protected]>2017-11-28 14:06:26 -0800
commit9169dde94149abe519cf1d1da7e388d0e200fa3f (patch)
tree0d04380abc3f172a704014ffa76d3849ce3e4708 /src/gallium/winsys/i915
parentc5d199fa2ca612acd22f7ff2fc584b9110bbbd44 (diff)
meson: build i915g driver
Build tested only. Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/winsys/i915')
-rw-r--r--src/gallium/winsys/i915/drm/meson.build31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/gallium/winsys/i915/drm/meson.build b/src/gallium/winsys/i915/drm/meson.build
new file mode 100644
index 00000000000..01300ad4c91
--- /dev/null
+++ b/src/gallium/winsys/i915/drm/meson.build
@@ -0,0 +1,31 @@
+# Copyright © 2017 Intel Corporation
+
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to deal
+# in the Software without restriction, including without limitation the rights
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+# copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+# SOFTWARE.
+
+libi915drm = static_library(
+ 'i915drm',
+ files(
+ 'i915_drm_batchbuffer.c', 'i915_drm_buffer.c', 'i915_drm_fence.c',
+ 'i915_drm_winsys.c'
+ ),
+ include_directories : [
+ inc_include, inc_src, inc_gallium, inc_gallium_aux, inc_gallium_drivers
+ ],
+ dependencies : [dep_libdrm, dep_libdrm_intel],
+)