[COPY] --- T2-COPYRIGHT-BEGIN --- [COPY] t2/package/*/kmod/kmod.desc [COPY] Copyright (C) 2014 - 2025 The T2 SDE Project [COPY] SPDX-License-Identifier: GPL-2.0 [COPY] --- T2-COPYRIGHT-END --- [I] The programs needed to load and unload Linux Kernel Modules [T] The Linux kernel allows new kernel pieces to be loaded and old ones to [T] be unloaded while the kernel continues to run. These loadable pieces [T] are called modules, and can include device drivers and filesystems among [T] other things. This package includes program to load and unload programs [T] both automatically and manually. [A] ProFUSION embedded systems [M] René Rebe [C] base/system [F] CROSS DIETLIBC [L] GPL [S] Stable [V] 33 [P] X 0-2--5---9 109.050 [D] b4263c9f7bc69bb090739c9eab14cb513428ef07bfe44ebc70f61192 kmod-33.tar.xz http://cdn.kernel.org/pub/linux/utils/kernel/kmod/ prefix= set_confopt pkginstalled zlib && var_append confopt ' ' --with-zlib #pkginstalled xz && var_append confopt ' ' --with-xz pkginstalled zstd && var_append confopt ' ' --with-zstd pkginstalled scdoc || var_append confopt ' ' --disable-manpages if atstage toolchain; then var_append confopt ' ' --with-sysroot=$sysroot xprefix=${arch_target}- var_append confopt ' ' "--program-transform-name='s,^,$xprefix,'" else atstage cross && var_append confopt ' ' --disable-manpages bindir=$sbindir fi kmod_pm() { install -dm 755 $root/{etc,usr/lib}/{depmod,modprobe}.d atstage toolchain || cp -vf $confdir/modprobe.conf $root/etc/modprobe.d/modprobe.conf for f in {ins,ls,rm,dep}mod mod{probe,info}; do ln -sfv ${xprefix}kmod $root$bindir/${xprefix}$f done } hook_add postinstall 3 "kmod_pm" var_append makeinstopt ' ' "LN_S='ln -svf'"