7.9. Udev-182

The Udev package contains programs for dynamic creation of device nodes.

7.9.1. Installation of Udev

Prepare Udev for compilation:

CC="${CC} ${BUILD64}" LIBS="-lpthread" \
    BLKID_CFLAGS="-I/tools/include/blkid" BLKID_LIBS="-L/tools/lib64 -lblkid" \
    KMOD_CFLAGS="-I/tools/include" KMOD_LIBS="-L${CLFS}/lib64 -lkmod" \
    ./configure --prefix=/usr --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    --with-rootprefix='' --bindir=/sbin --sysconfdir=/etc --libexecdir=/lib \
    --libdir=/usr/lib64 --disable-introspection \
    --with-usb-ids-path=no --with-pci-ids-path=no \
    --disable-gtk-doc-html --disable-gudev --disable-keymap --disable-logging \
    --with-firmware-path=/lib/firmware

Compile the package:

make

Install the package:

make DESTDIR=${CLFS} install

Details on this package are located in Section 10.85.2, “Contents of Udev.”