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