aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2024-02-09 09:29:51 -0600
committerAleksander Morgado <aleksander@aleksander.es>2024-04-01 10:14:43 +0000
commit57518950ea637660b10e8d6205f5e4b1373577ad (patch)
tree637d7637efd70b00e2c2db398f1dc05a67b2d1cb
parent609ff750332e093384ae8f39a371bb2404737d14 (diff)
README.md: add a short "Getting Started" section for how-to-build
Help out people that may never have used Meson or built ModemManager before. Signed-off-by: Dan Williams <dcbw@redhat.com>
-rw-r--r--README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/README.md b/README.md
index 2b34f063..2aee9579 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,22 @@ ModemManager provides a unified high level API for communicating with mobile
broadband modems, regardless of the protocol used to communicate with the
actual device (Generic AT, vendor-specific AT, QCDM, QMI, MBIM...).
+## Getting Started
+
+ModemManager uses the meson build system. Meson is likely available as a
+package from your Linux distrubtion, but if not please refer to the [Meson
+project](https://mesonbuild.com/Quick-guide.html) for installation instructions. Once you have Meson installed you'll
+probably want to install [libmbim](https://gitlab.freedesktop.org/mobile-broadband/libmbim) and [libqmi](https://gitlab.freedesktop.org/mobile-broadband/libqmi) which most modems require.
+
+After dependencies are installed you can build ModemManager with:
+
+ $ meson setup build --prefix=/usr --buildtype=release
+ $ ninja -C build
+
+And after a successful build, install with:
+
+ $ sudo ninja -C build install
+
## Using
ModemManager is a system daemon and is not meant to be used directly from