summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/iwi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/intel/iwi/Makefile')
-rwxr-xr-xusr/src/uts/intel/iwi/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/usr/src/uts/intel/iwi/Makefile b/usr/src/uts/intel/iwi/Makefile
index 4caf4cf69c..926600b957 100755
--- a/usr/src/uts/intel/iwi/Makefile
+++ b/usr/src/uts/intel/iwi/Makefile
@@ -22,13 +22,7 @@
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-
-# ident "%Z%%M% %I% %E% SMI"
-#
-# This makefile drives the production of the ipw driver kernel module.
-#
-# i86pc architecture dependent
-#
+# Copyright (c) 2018, Joyent, Inc.
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
@@ -38,7 +32,7 @@ UTSBASE = ../..
#
# Define the module and object file sets.
#
-MODULE = iwi
+MODULE = iwi
OBJECTS = $(IWI_OBJS:%=$(OBJS_DIR)/%)
LINTS = $(IWI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
@@ -56,7 +50,10 @@ LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CPPFLAGS += -I. -D_KERNEL
-LDFLAGS += -dy -Nmisc/mac -Nmisc/net80211 -Ndrv/random -Ndrv/ip
+LDFLAGS += -dy -Nmisc/mac -Nmisc/net80211 -Ndrv/random -Ndrv/ip
+
+# needs work
+$(OBJS_DIR)/ipw2200.o := SMOFF += deref_check
#
# Default build targets.