A website documenting creating the build root for MidgardOS
| Navigation | ||
|---|---|---|
| « Kmod 64-bit | HOME | GNU Coreutils » |
Name: Kmod 32-bit
Summary: Tools and libraries for loading Kernel modules
License: LGPL v2.1 or later
Version: 34.2
URL: https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-34.2.tar.xz
Average Build Time: less than 0.1 SBU
Used Install Space: 508 KiB
To configure Kmod 32-bit for install into the build root, run the following command:
rm -rf build
mkdir -p build
cd build
PKG_CONFIG_PATH="/usr/lib/pkgconfig" \
CC="gcc -m32 -march=i686" \
CXX="g++ -m32 -march=i686" \
meson setup --prefix=/usr \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--buildtype=release \
-Dbashcompletiondir=/etc/bash_completion.d \
-Dfishcompletiondir=no \
-Dzshcompletiondir=/etc/zsh_completion.d \
-Dmoduledir=/usr/lib/modules \
-Ddlopen=all \
-Ddocs=false \
..
To compile Kmod 32-bit, run the following command:
ninja
Finally, to install Kmod 32-bit into the build tree, run the following command:
DESTDIR=$PWD/DESTDIR ninja install
cp -Rv DESTDIR/usr/lib/* /usr/lib/
See the contents section of the 64-bit build of Kmod 32-bit for details.
| Navigation | ||
|---|---|---|
| « Kmod 64-bit | HOME | GNU Coreutils » |