mirror of
https://github.com/kmod-project/kmod.git
synced 2026-01-26 15:39:08 +00:00
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:
parent
0a9b13a3f5
commit
ee1bbe64fc
14
README.md
14
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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user