First experiments with kmod-git and meson build-system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

looks like etc directory was not copied to $PREFIX.

Build-Instructions:

[ PREREQS ]

apt-get update

apt-get install -t unstable scdoc -s
apt-get install -t unstable scdoc -y

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-dev.ini ]

NOTE: Requires linux-headers package(s) of running kernel to be installed!

--- a/build-dev.ini
+++ b/build-dev.ini
@@ -4,7 +4,7 @@
; SPDX-License-Identifier: LGPL-2.1-or-later

[project options]
-build-tests = true
+build-tests = false
debug-messages = true
docs = true
zstd = 'enabled'

[ BUILD-DIR ]

cd $BASE_DIR

mkdir build

[ CONFIGURE ]

PREFIX="/opt/kmod-v33-300-g7b416d59e450"

cd git

meson setup --prefix $PREFIX --sysconfdir $PREFIX/etc --native-file
build-dev.ini ../build

[ BUILD ]

meson compile -C ../build

[ INSTALL ]

sudo meson install -C ../build


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux