meson: Build libfbdevhw.so

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Adam Jackson 2017-04-27 13:10:33 -04:00
parent 6413a87bcd
commit 5c7d92362b
2 changed files with 17 additions and 0 deletions

View File

@ -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)

View File

@ -27,6 +27,7 @@ subdir('common')
subdir('ddc')
subdir('dixmods')
subdir('exa')
subdir('fbdevhw')
if gbm_dep.found()
subdir('glamor_egl')
endif