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