xref: /freebsd/sys/modules/ralfw/Makefile.inc (revision 5b56413d04e608379c9a306373554a8e4d321bc0)
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#
5KMOD=	${IMG}fw
6_FIRM=	${IMG}.fw
7
8CLEANFILES+=	${_FIRM}
9
10FIRMWS=	${_FIRM}:${KMOD}
11
12${_FIRM}: ${SRCTOP}/sys/contrib/dev/ral/${_FIRM}.uu
13	uudecode -p ${.ALLSRC} > ${.TARGET}
14