# kmod/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] #--------------------------------------------------------------------- [buildtimes] 00.01 hours (or 000.45 minutes) - HP EliteBook 8560w 32GB RAM 00.01 hours (or 000.47 minutes) - ThinkPad E540 i7 4x2 16GB RAM #--------------------------------------------------------------------- [settings] compiler = clang ldbefore = -ldl -lc license = See "license*.txt" in installed tree licfile = COPYING master = glibc smp = no dontfind = openssl setpaths = openssl3 #--------------------------------------------------------------------- [depends] actools gawk grep make meson:forward ninja:forward openssl3:forward sed xzutils zlib zstd:forward #--------------------------------------------------------------------- [configure] BINDIR=$PKGDIR_PROD/bin ETCDIR=$PKGDIR_PROD/etc SBINDIR=$PKGDIR_PROD/sbin MANBASE=$PKGDIR_PROD/man mkdir -p $BINDIR $ETCDIR $MANBASE $SBINDIR mkdir -p /etc/modprobe.d #--------------------------------------------------------------------- PATH=$PRODTREE/python3/bin:$PATH PP=$PKGDIR_PROD rm -fr lacobj && mkdir lacobj && cd lacobj # meson setup \ -D prefix=$PP \ -D bindir=$PP/bin \ -D buildtype=release \ -D includedir=$PP/include \ -D libdir=$PP/lib \ -D mandir=$PP/man \ \ -D manpages=false #--------------------------------------------------------------------- [build] cd lacobj && ninja_simple_build #--------------------------------------------------------------------- [postbuild] BINDIR=$PKGDIR_PROD/bin ETCDIR=$PKGDIR_PROD/etc SBINDIR=$PKGDIR_PROD/sbin ln -nsf $BINDIR/kmod $SBINDIR/ #ifdef NOTDEF # cd $SBINDIR # for x in depmod insmod lsmod modinfo modprobe rmmod # do # ln -nsf kmod $x # done #endif ln -nsf $SBINDIR/lsmod $BINDIR/ ln -nsf /etc/modprobe.d $ETCDIR/ cp -p $PKGDIR_SPECIAL/modprobe.conf $ETCDIR/ #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = TBD url_home = TBD url_lfs = TBD url_tarball = https://www.kernel.org/pub/linux/utils/\ kernel/kmod/kmod-34.tar.xz #--------------------------------------------------------------------- [history] 170502 Updated from 22 to 24 180430 Updated to 25 180625 Added a "buildroot" patch 180629 Added an Alpine patch 190513 Updated to 26 210611 Updated to 29 241222 Updated to 33 260319 Updated to 34