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