From ee1bbe64fcb2ff4e96393b8b6a12d82e70313837 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 9 Sep 2024 15:10:38 +0100 Subject: [PATCH] README.md: recommend meson, mention autotools EOL The meson build has the default options already set, so I don't think we need the verbosity of the configure example. Signed-off-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/122 Signed-off-by: Lucas De Marchi --- README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9a5e010c..02208bfe 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,14 @@ Optional dependencies: - ZSTD library - OPENSSL library (signature handling in modinfo) -Typical configuration: +Typical configuration and installation + + meson setup builddir/ + meson compile -C builddir/ + sudo meson install -C builddir/ + +Alternatively you can try autotools build. +NOTE: The autotools build is slated for removal with kmod v35 ./configure CFLAGS="-g -O2" --prefix=/usr \ --sysconfdir=/etc --libdir=/usr/lib @@ -61,8 +68,9 @@ To compile and install run: Hacking ======= -Run 'autogen.sh' script before configure. If you want to accept the recommended -flags, you just need to run `autogen.sh c`. +When working on kmod, use the included `build-dev.ini` file, as: + + meson setup --native-file build-dev.ini builddir/ Make sure to read the CODING-STYLE file and the other READMEs: libkmod/README and testsuite/README. -- 2.47.2