KMOD=	umoscomunleak
SRCS=	mo5455_harness.c mo5455_shim.c opt_usb.h device_if.h bus_if.h usbdevs.h

.include <bsd.kmod.mk>

# Defensive only: -Wuninitialized/-Werror fire on umoscom_cfg_read()'s
# `uint8_t val;` when the request helper is same-TU inlinable (GCC then
# also folds the load to 0 -- see run.1.fold.log).  With the
# production-shaped opaque cross-TU call (mo5455_shim.c, like
# usbd_do_request_proc) GCC neither diagnoses nor folds it -- the bug
# compiles silently (build.werror_evidence.log) -- which is why it ships.
# The flag is kept so the pack keeps building even if the shim is ever
# merged back into this TU.
CFLAGS+=	-Wno-uninitialized
