ca8bf0e8d6
We do not generally protect the Makefiles like this. Remove the details and go with project style. Sponsored by: The FreeBSD Foundation MFC after: 3 days X-MFC with:bfcc09ddd4
X-MFC with:f4c129f5fb
21 lines
366 B
Makefile
21 lines
366 B
Makefile
# $FreeBSD$
|
|
|
|
# Common rules for building iwlwifi firmware.
|
|
|
|
EXT?= ucode
|
|
_NAME?= iwlwifi-${NAME}-${FWVERSION}.${EXT}
|
|
|
|
IMG= ${_NAME}
|
|
KMOD= ${_NAME}
|
|
|
|
CLEANFILES+= ${IMG}
|
|
|
|
FIRMWS= ${IMG}:${IMG}:${FWVERSION}
|
|
|
|
# License ack is not needed for iwlwifi (same as iwn/iwm).
|
|
#FIRMWARE_LICENSE=
|
|
|
|
${IMG}: ${SRCTOP}/sys/contrib/dev/iwlwififw/${IMG}
|
|
cp ${.ALLSRC} ${.TARGET}
|
|
|