mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-16 00:23:36 +00:00

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
30 lines
599 B
Meson
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,
|
|
],
|
|
)
|