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