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