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