xref: /freebsd/sys/modules/iwlwififw/Makefile.inc (revision e32fecd0c2c3ee37c47ee100f169e7eb0282a873)
1# $FreeBSD$
2
3# Common rules for building iwlwifi firmware.
4
5EXT?=		ucode
6_NAME?=		iwlwifi-${NAME}-${FWVERSION}.${EXT}
7
8IMG=		${_NAME}
9KMOD=		${_NAME}
10
11CLEANFILES+=	${IMG}
12
13FIRMWS=		${IMG}:${IMG}:${FWVERSION}
14
15# License ack is not needed for iwlwifi (same as iwn/iwm).
16#FIRMWARE_LICENSE=
17
18${IMG}: ${SRCTOP}/sys/contrib/dev/iwlwififw/${IMG}
19	cp ${.ALLSRC} ${.TARGET}
20
21