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