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 <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/122
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
This commit is contained in:
Emil Velikov 2024-09-09 15:10:38 +01:00 committed by Lucas De Marchi
parent 0a9b13a3f5
commit ee1bbe64fc

View File

@ -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.