[ PREREQS ] apt-get update # man-pages apt-get install -t unstable scdoc -s apt-get install -t unstable scdoc -y # docs ##apt-get install -t unstable gtk-doc-tools -s ##apt-get install -t unstable gtk-doc-tools -y [ BASE-DIR ] BASE_DIR="$HOME/src/kmod" mkdir $BASE_DIR [ KMOD GIT ] cd $BASE_DIR git clone git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git git [ build-dileks.ini ] ; SPDX-FileCopyrightText: 2024 Emil Velikov ; SPDX-FileCopyrightText: 2024 Lucas De Marchi ; ; SPDX-License-Identifier: LGPL-2.1-or-later [project options] build-tests = false debug-messages = false docs = false zstd = 'enabled' xz = 'enabled' zlib = 'enabled' openssl = 'enabled' werror = true ;b_sanitize = 'address,undefined' [built-in options] buildtype = 'release' - EOF - NOTE: build-tests option requires linux-headers package(s) to be installed! [ BUILD-DIR ] cd $BASE_DIR mkdir build [ CONFIGURE ] cd git meson setup --native-file build-dileks.ini ../build [ BUILD ] meson compile -C ../build [ INSTALL ] sudo meson install --strip -C ../build -dileks // 19-Oct-2024: Update to kmod-v33-314-g557e79c360a3; Use buildtype = 'release' and add '--strip' to install -dileks // 18-Oct-2024: Initial release