xref: /freebsd/sys/modules/ralfw/Makefile.inc (revision 56b17de1e8360fe131d425de20b5e75ff3ea897c)
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