mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
xfree86: video: vesa: add meson.build for the driver
Adding the VESA driver to our build system. It's enabled by default, but can be disabled at build time by setting -Dxf86-video-vesa=false. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
if build_modesetting
|
||||
subdir('modesetting')
|
||||
endif
|
||||
|
||||
if get_option('xf86-video-vesa')
|
||||
subdir('vesa')
|
||||
endif
|
||||
|
||||
37
hw/xfree86/drivers/video/vesa/meson.build
Normal file
37
hw/xfree86/drivers/video/vesa/meson.build
Normal file
@@ -0,0 +1,37 @@
|
||||
modesetting_srcs = [
|
||||
'src/vesa.c',
|
||||
]
|
||||
|
||||
shared_module(
|
||||
'vesa_drv',
|
||||
modesetting_srcs,
|
||||
name_prefix: '',
|
||||
|
||||
include_directories: [inc, xorg_inc, 'src'],
|
||||
c_args: xorg_c_args,
|
||||
dependencies: [
|
||||
common_dep,
|
||||
],
|
||||
|
||||
install: true,
|
||||
install_dir: join_paths(module_abi_dir, 'video'),
|
||||
)
|
||||
|
||||
install_man(configure_file(
|
||||
input: 'man/vesa.man',
|
||||
output: 'vesa.4',
|
||||
configuration: manpage_config,
|
||||
))
|
||||
|
||||
# Test that we don't have any unresolved symbols from our module to XLibre.
|
||||
xorg_build_root = join_paths(meson.project_build_root(), 'hw', 'xfree86')
|
||||
symbol_test_args = []
|
||||
symbol_test_args += join_paths(xorg_build_root, 'libxorgserver.so')
|
||||
symbol_test_args += join_paths(xorg_build_root, 'dixmods', 'libshadow.so')
|
||||
symbol_test_args += join_paths(xorg_build_root, 'int10', 'libint10.so')
|
||||
symbol_test_args += join_paths(xorg_build_root, 'drivers', 'video', 'vesa', 'vesa_drv.so')
|
||||
|
||||
test('vesa driver symbol test',
|
||||
xorg_symbol_test,
|
||||
args: symbol_test_args,
|
||||
)
|
||||
@@ -169,3 +169,9 @@ option('test_rendercheck_triangles', type: 'boolean', value: false,
|
||||
description: 'testsuite: run rendercheck triangles tests (might fail on Xephyr)')
|
||||
option('test_xephyr_gles', type: 'boolean', value: true,
|
||||
description: 'testsuite: run gles2/gles3 tests on Xephyr (might fail w/o DRI)')
|
||||
|
||||
# xfree86 drivers
|
||||
option('xf86-input-inputtest', type: 'boolean', value: true,
|
||||
description: 'Test input driver support on Xorg')
|
||||
option('xf86-video-vesa', type: 'boolean', value: true,
|
||||
description: 'VESA driver for xfree86 DDX')
|
||||
|
||||
Reference in New Issue
Block a user