• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1if not get_option('backend-fbdev')
2	subdir_done()
3endif
4
5config_h.set('BUILD_FBDEV_COMPOSITOR', '1')
6
7srcs_fbdev = [
8	'fbdev.c',
9	presentation_time_server_protocol_h,
10]
11
12deps_fbdev = [
13	dep_libweston_private,
14	dep_session_helper,
15	dep_libinput_backend,
16	dependency('libudev', version: '>= 136'),
17]
18
19plugin_fbdev = shared_library(
20	'fbdev-backend',
21	srcs_fbdev,
22	include_directories: common_inc,
23	dependencies: deps_fbdev,
24	name_prefix: '',
25	install: true,
26	install_dir: dir_module_libweston
27)
28env_modmap += 'fbdev-backend.so=@0@;'.format(plugin_fbdev.full_path())
29
30install_headers(backend_fbdev_h, subdir: dir_include_libweston_install)
31