[PATCH xserver 6/9] meson: Build libfbdevhw.so
Adam Jackson
ajax at redhat.com
Thu Apr 27 17:55:24 UTC 2017
Signed-off-by: Adam Jackson <ajax at 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
More information about the xorg-devel
mailing list