diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-10-25 21:39:46 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-11-17 11:30:01 +0100 |
commit | 81302efa661f848455a1bfe44b27608b11d6d49b (patch) | |
tree | c4ee58c60d071f992c6bab8c8016e557e6d490eb /src/meson.build | |
parent | 21c775703c9e3852fdda206a9658cb236613ef85 (diff) |
iface-modem: use external dispatcher to attempt FCC unlock
We remove the built-in FCC unlock procedures from the ModemManager, we
will no longer run them automatically, and instead rely on external
scripts/programs to do that.
Packages providing the external FCC unlock tools can install them in
${pkglibdir}/fcc-unlock.d.
Users manually enabling external FCC unlock tools can install them in
${pkgsysconfdir}/fcc-unlock.d.
The user-enabled path takes precedence over the package-enabled one.
Diffstat (limited to 'src/meson.build')
-rw-r--r-- | src/meson.build | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/meson.build b/src/meson.build index 3fe78f11..989f8d7b 100644 --- a/src/meson.build +++ b/src/meson.build @@ -200,6 +200,7 @@ sources = files( 'mm-call-list.c', 'mm-context.c', 'mm-device.c', + 'mm-fcc-unlock-dispatcher.c', 'mm-filter.c', 'mm-iface-modem-3gpp.c', 'mm-iface-modem-3gpp-profile-manager.c', @@ -250,6 +251,8 @@ deps = [ c_args = [ '-DMM_COMPILATION', '-DPLUGINDIR="@0@"'.format(mm_prefix / mm_pkglibdir), + '-DFCCUNLOCKDIRPACKAGE="@0@"'.format(mm_prefix / mm_pkglibdir / 'fcc-unlock.d'), + '-DFCCUNLOCKDIRUSER="@0@"'.format(mm_prefix / mm_pkgsysconfdir / 'fcc-unlock.d'), ] if enable_qrtr |