xref: /freebsd/sys/modules/iwmfw/Makefile.inc (revision dd41de95a84d979615a2ef11df6850622bf6184e)
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/iwm/${_FIRM}.uu
18	uudecode -p ${.ALLSRC} > ${.TARGET}
19