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