Signed-off-by: Adam Jackson <a...@redhat.com>
---
 hw/xfree86/fbdevhw/meson.build | 16 ++++++++++++++++
 hw/xfree86/meson.build         |  1 +
 2 files changed, 17 insertions(+)
 create mode 100644 hw/xfree86/fbdevhw/meson.build

diff --git a/hw/xfree86/fbdevhw/meson.build b/hw/xfree86/fbdevhw/meson.build
new file mode 100644
index 000000000..3cb841179
--- /dev/null
+++ b/hw/xfree86/fbdevhw/meson.build
@@ -0,0 +1,16 @@
+if host_machine.system() == 'linux'
+    srcs_fbdevhw = 'fbdevhw.c'
+else
+    srcs_fbdevhw = 'fbdevhwstubs.c'
+endif
+
+shared_module('fbdevhw',
+    srcs_fbdevhw,
+    include_directories: [ inc, xorg_inc ],
+    dependencies: common_dep,
+    c_args: xorg_c_args,
+    install: true,
+    install_dir: module_dir,
+)
+
+install_data('fbdevhw.h', install_dir: xorgsdkdir)
diff --git a/hw/xfree86/meson.build b/hw/xfree86/meson.build
index a9bb84af2..a09e8210c 100644
--- a/hw/xfree86/meson.build
+++ b/hw/xfree86/meson.build
@@ -27,6 +27,7 @@ subdir('common')
 subdir('ddc')
 subdir('dixmods')
 subdir('exa')
+subdir('fbdevhw')
 if gbm_dep.found()
     subdir('glamor_egl')
 endif
-- 
2.12.2

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to