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