# Adapted from Arch Linux.

# Use hwdb builtin, instead of the obsolete usb-db in the udev rules.
sed -e 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' \
    -i usb/55-Argyll.rules

# Use pre-defined LDFLAGS.
echo "LINKFLAGS += ${LDFLAGS} ;" >> Jamtop
