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