Skip to content

Instantly share code, notes, and snippets.

@jclulow
Created March 11, 2018 20:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jclulow/a49e8491be5dd4f8e0bf64d11c2e27f9 to your computer and use it in GitHub Desktop.
Save jclulow/a49e8491be5dd4f8e0bf64d11c2e27f9 to your computer and use it in GitHub Desktop.
diff --git a/intel/ipf/Makefile b/sparc/ipf/Makefile
index 9b5cd49d65..b3755c1283 100644
--- a/intel/ipf/Makefile
+++ b/sparc/ipf/Makefile
@@ -22,12 +22,13 @@
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# uts/intel/ipf/Makefile
+# uts/sparc/ipf/Makefile
#
-# This makefile drives the production of the ipf driver
+#
+# This makefile drives the production of the ipf driver
# kernel module.
#
-# intel architecture dependent
+# sparc architecture dependent
#
#
@@ -47,7 +48,7 @@ CONF_SRCDIR = $(UTSBASE)/common/inet/ipf
#
# Include common rules.
#
-include $(UTSBASE)/intel/Makefile.intel
+include $(UTSBASE)/sparc/Makefile.sparc
#
# Define targets
@@ -56,6 +57,10 @@ ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
+#
+# lint pass one enforcement and OS version
+#
+CFLAGS += $(CCVERBOSE)
CPPFLAGS += -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP -DUSE_INET6
CPPFLAGS += -DSUNDDI -DSOLARIS=1 -DSOLARIS2=$(RELEASE_MINOR) -DIRE_ILL_CN
LDFLAGS += -dy -Ndrv/ip -Nmisc/md5 -Nmisc/neti -Nmisc/hook -Nmisc/kcf
@@ -102,4 +107,4 @@ install: $(INSTALL_DEPS) $(SISCHECK_DEPS)
#
# Include common targets.
#
-include $(UTSBASE)/intel/Makefile.targ
+include $(UTSBASE)/sparc/Makefile.targ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment