xref: /freebsd/sys/modules/usb/rsufw/Makefile.inc (revision 031beb4e239bfce798af17f5fe8dba8bcaf13d99)
1#
2# Common rules for building firmware.  Note this gets auto-included
3# by the subdir Makefile's as a consequence of included bsd.kmod.mk.
4
5_FIRM=	${IMG}.fw
6
7CLEANFILES+=	${_FIRM}
8
9FIRMWS=	${_FIRM}:${KMOD}:120
10
11# FIRMWARE_LICENSE=	realtek
12
13${_FIRM}: ${SRCTOP}/sys/contrib/dev/rsu/${_FIRM}.uu
14	uudecode -p ${.ALLSRC} > ${.TARGET}
15