Using https://gitlab.freedesktop.org/mobile-broadband/libqmi.git to download the source code.
Enabled lto and additional gcc flags for perfomance and less size.
Added support for selecting qmi message collection.
Selected basic qmi message collection by default (modemmanager requires it).
Modified to use meson as upstream has abandoned autotools.
Removed BUILD_PARALLEL options. These are default with ninja/meson.
Signed-off-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com>
(cherry picked from commit f7cbd44540)
There is no need to force every user of libqmi to require libmbim and
build with QMI-over-MBIM support, if they know they're not going to
use it. Just make it optional and enabled by default.
Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>