mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-05 04:44:15 +00:00
xfree86: drivers: ark: add the driver to the build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
add975c588
commit
bfb842de7e
31
hw/xfree86/drivers/video/ark/meson.build
Normal file
31
hw/xfree86/drivers/video/ark/meson.build
Normal file
@@ -0,0 +1,31 @@
|
||||
driver_video_ark_srcs = [
|
||||
'src/ark_driver.c',
|
||||
]
|
||||
|
||||
shared_module(
|
||||
'ark_drv',
|
||||
driver_video_ark_srcs,
|
||||
name_prefix: '',
|
||||
|
||||
include_directories: [inc, xorg_inc],
|
||||
c_args: xorg_c_args,
|
||||
dependencies: [
|
||||
common_dep,
|
||||
],
|
||||
|
||||
install: true,
|
||||
install_dir: join_paths(module_abi_dir, 'drivers'),
|
||||
)
|
||||
|
||||
# Test that we don't have any unresolved symbols from our module to Xorg.
|
||||
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, 'dixmods', 'libglx.so')
|
||||
symbol_test_args += join_paths(xorg_build_root, 'drivers', 'video-ark', 'ark_drv.so')
|
||||
|
||||
test('video-ark symbol test',
|
||||
xorg_symbol_test,
|
||||
args: symbol_test_args,
|
||||
)
|
||||
@@ -1,3 +1,7 @@
|
||||
if get_option('xf86-video-ark')
|
||||
subdir('ark')
|
||||
endif
|
||||
|
||||
if get_option('xf86-video-apm')
|
||||
subdir('apm')
|
||||
endif
|
||||
|
||||
@@ -125,6 +125,8 @@ option('xf86-input-inputtest', type: 'boolean', value: true,
|
||||
description: 'Test input driver support on Xorg')
|
||||
option('xf86-video-apm', type: 'boolean', value: true,
|
||||
description: 'xf86 video driver for APM graphics chips')
|
||||
option('xf86-video-ark', type: 'boolean', value: true,
|
||||
description: 'xf86 video driver for ARK graphics chips')
|
||||
|
||||
option('tests', type: 'boolean', value: true,
|
||||
description: 'Build tests for the X server on platforms that support it')
|
||||
|
||||
Reference in New Issue
Block a user