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