Makefile revision fd43cf6ea90d0f421f98ca45675340de695681ac
ea206aebcafe1ed5d470dd99daab9a1cedc81c7cMark Andrews# This file and its contents are supplied under the terms of the
a02a0a8a7eb461619931f4a0e896afa247b52c54Mark Andrews# Common Development and Distribution License ("CDDL"), version 1.0.
ea206aebcafe1ed5d470dd99daab9a1cedc81c7cMark Andrews# You may only use this file in accordance with the terms of version
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews# 1.0 of the CDDL.
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews# A full copy of the text of the CDDL should have accompanied this
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# source. A copy of the CDDL is also available via the Internet at
0756445a735e2df39bf798d8de42ae5dd030aa3bMark Andrews# Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# This makefile drives the production of the iwn driver kernel module.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# intel architecture dependent
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Path to the base of the uts directory tree (usually /usr/src/uts).
75216e007570b8ea36b3ac9cca096bf70c0ca6f6Mark Andrews# Define firmware location & files
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsFWFILES = iwlwifi-100-5.ucode iwlwifi-1000-3.ucode iwlwifi-105-6.ucode \
bac2ed6ec3fbb5420e6ce69dd1218745d4e02b1eMark Andrews iwlwifi-135-6.ucode iwlwifi-2000-6.ucode iwlwifi-2030-6.ucode \
ed178efa9ab8f813538fce4ff603b81ded9f1799Mark Andrews iwlwifi-4965-2.ucode iwlwifi-5000-2.ucode iwlwifi-5150-2.ucode \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews iwlwifi-6000-4.ucode iwlwifi-6000g2a-5.ucode iwlwifi-6000g2b-6.ucode \
ed178efa9ab8f813538fce4ff603b81ded9f1799Mark Andrews# Define the module and object file sets.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsROOTFIRMWARE = $(FWFILES:%=$(ROOT_FIRMWARE_DIR)/$(MODULE)/%)
75216e007570b8ea36b3ac9cca096bf70c0ca6f6Mark Andrews# Include common rules.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Define targets
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTFIRMWARE)
068a66979695c77359e7a9181bb3f831c965b21cMark AndrewsLDFLAGS += -dy -Nmisc/mac -Nmisc/net80211 -Ndrv/random -Ndrv/ip
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonCERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Default build targets.
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews# Include common targets.