mirror of
https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git
synced 2024-11-23 02:43:54 +08:00
README: Add release/distro/end-user recommendation
This may be useful for anyone trying a non-debug build and serve as baseline for distros. Even for developers, when benchmarking kmod, it's better to run a release-oriented kmod rather than the slow one due to all debug/sanitizers. By keeping the -D in the command line rather than in a ini file, we also guarantee meson shows it in the summary, regardless of https://github.com/mesonbuild/meson/issues/13865. Closes: https://github.com/kmod-project/kmod/issues/220 Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Link: https://github.com/kmod-project/kmod/pull/221
This commit is contained in:
parent
18c91d392a
commit
250330e6f5
@ -52,6 +52,10 @@ Typical configuration and installation
|
||||
meson compile -C builddir/
|
||||
sudo meson install -C builddir/
|
||||
|
||||
For end-user and distributions builds, it's recommended to use:
|
||||
|
||||
meson setup --buildtype release builddir/
|
||||
|
||||
Alternatively you can try autotools build.
|
||||
NOTE: The autotools build is slated for removal with kmod v35
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user