fwupd/plugins/intel-usb4/meson.build
Richard Hughes 5ebc3b6ad9 Move the generic Intel Goshen Ridge code out to a new plugin
The original code was written by Dell for the dell-dock plugin, but
it's exactly the same code and NVM format for Intel reference hardware.
2022-09-08 09:56:33 +01:00

30 lines
525 B
Meson

if gusb.found()
cargs = ['-DG_LOG_DOMAIN="FuPluginIntelUsb4"']
plugin_quirks += join_paths(meson.current_source_dir(), 'intel-usb4.quirk')
shared_module('fu_plugin_intel_usb4',
fu_hash,
sources: [
'fu-intel-usb4-device.c',
'fu-plugin-intel-usb4.c',
],
include_directories: [
root_incdir,
fwupd_incdir,
fwupdplugin_incdir,
],
install: true,
install_dir: plugin_dir,
link_with: [
fwupd,
fwupdplugin,
],
c_args: cargs,
dependencies: [
plugin_deps,
gudev,
],
)
endif