fwupd/plugins/ebitdo/meson.build
Richard Hughes 7f1b8e7dce ebitdo: Modernize the plugin to use FuFirmware
This allows us to do three things:

* Fuzz the loader with `fwupdtool firmware-parse`
* Check the firmware *before* the hardware is put into bootloader mode
* Use FuChunk to build the 32 byte payload chunks
2019-10-31 09:21:35 -05:00

30 lines
599 B
Meson

cargs = ['-DG_LOG_DOMAIN="FuPluginEbitdo"']
install_data(['ebitdo.quirk'],
install_dir: join_paths(datadir, 'fwupd', 'quirks.d')
)
shared_module('fu_plugin_ebitdo',
fu_hash,
sources : [
'fu-plugin-ebitdo.c',
'fu-ebitdo-common.c',
'fu-ebitdo-device.c',
'fu-ebitdo-firmware.c',
],
include_directories : [
include_directories('../..'),
include_directories('../../src'),
include_directories('../../libfwupd'),
],
install : true,
install_dir: plugin_dir,
link_with : [
libfwupdprivate,
],
c_args : cargs,
dependencies : [
plugin_deps,
],
)