From 5c7d92362b25670856091663e70d3e0dc2350efb Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Thu, 27 Apr 2017 13:10:33 -0400 Subject: [PATCH] meson: Build libfbdevhw.so Reviewed-by: Eric Anholt Signed-off-by: Adam Jackson --- 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