7.10. Udev-182

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

7.10.1. Installation of Udev

Prepare Udev for compilation:

LIBS="-lpthread" \
    BLKID_CFLAGS="-I/tools/include/blkid" BLKID_LIBS="-L/tools/lib -lblkid" \
    KMOD_CFLAGS="-I/tools/include" KMOD_LIBS="-L${CLFS}/lib -lkmod" \
    ./configure --prefix=/usr --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    --with-rootprefix=$CLFS --bindir=/sbin --sysconfdir=/etc --libexecdir=/lib \
    --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

Create a directory for storing firmware that can be loaded by udev:

install -dv ${CLFS}/lib/firmware

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