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