mirror of
https://git.proxmox.com/git/fwupd
synced 2026-01-13 20:12:32 +00:00
This is a large commit that removes all the providers and turns them into plugins. I think having both providers _and_ plugins was super confusing. Plugins are loaded at runtime so you could in theory develop a new plugin without putting it in the fwupd source tree, although there are no installed headers or PC files as I'm not sure it's a good idea at this stage. This commit moves all the per-provider docs, tests, notes, debug dumps and test data to plugin-specific directories -- these also allows the plugin author to "own" more of the source tree so we don't enforce fu- prefixes and the style guide everywhere. This allows us to run the same action on all the plugins in the future, so we could have a prepare(FuPlugin, FuDevice) and cleanup(FuPlugin, FuDevice) run on *all* plugins, so doing an update using one plugin would allow us to work around hardware quirks in other plugins. If I've broken your out-of-tree provider it's trivial to port to the new API with sed and a fixed up build file. If you need help please let me know.
21 lines
508 B
Makefile
21 lines
508 B
Makefile
AM_CPPFLAGS = \
|
|
$(GUSB_CFLAGS) \
|
|
$(GLIB_CFLAGS) \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/libfwupd \
|
|
-I$(top_srcdir)/src
|
|
|
|
plugindir = $(libdir)/fwupd-plugins-2
|
|
plugin_LTLIBRARIES = libfu_plugin_test.la
|
|
|
|
libfu_plugin_test_la_SOURCES = \
|
|
fu-plugin-test.c
|
|
libfu_plugin_test_la_LIBADD = $(GLIB_LIBS)
|
|
libfu_plugin_test_la_LDFLAGS = -module -avoid-version
|
|
libfu_plugin_test_la_CFLAGS = $(WARN_CFLAGS) \
|
|
-DG_LOG_DOMAIN=\"FuPluginTest\"
|
|
|
|
EXTRA_DIST = README.md
|
|
|
|
-include $(top_srcdir)/git.mk
|