summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2014-03-06 01:30:23 +0000
committerRobert Mustacchi <rm@joyent.com>2014-03-06 05:52:31 +0000
commitc477f310c1fc5dfec27f2562fd5b91ee3e05a2dd (patch)
treed34f26f1a273248495e7e86b5e36b94643bda10d
parent2d02bb4655a4bcc0b7f2e0b0e661270f13d0f8a3 (diff)
downloadillumos-joyent-c477f310c1fc5dfec27f2562fd5b91ee3e05a2dd.tar.gz
OS-2693 Integrate usbgem (fix debug)
-rw-r--r--usr/src/uts/intel/axf/Makefile4
-rw-r--r--usr/src/uts/intel/udmf/Makefile5
-rw-r--r--usr/src/uts/intel/upf/Makefile5
-rw-r--r--usr/src/uts/intel/urf/Makefile4
-rw-r--r--usr/src/uts/intel/usbgem/Makefile3
5 files changed, 21 insertions, 0 deletions
diff --git a/usr/src/uts/intel/axf/Makefile b/usr/src/uts/intel/axf/Makefile
index 625f677c8e..e4665c0186 100644
--- a/usr/src/uts/intel/axf/Makefile
+++ b/usr/src/uts/intel/axf/Makefile
@@ -36,6 +36,10 @@ CPPFLAGS += -DVERSION=\"2.0.2\"
CPPFLAGS += -DUSBGEM_CONFIG_GLDv3
LDFLAGS += -dy -N misc/mac -N drv/ip -N misc/usba -N misc/usbgem
+CERRWARN += -_gcc=-Wno-unused-function
+CERRWARN += -_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-unused-label
+
#
# Define targets
#
diff --git a/usr/src/uts/intel/udmf/Makefile b/usr/src/uts/intel/udmf/Makefile
index ee66f2351b..1e9f0e5400 100644
--- a/usr/src/uts/intel/udmf/Makefile
+++ b/usr/src/uts/intel/udmf/Makefile
@@ -36,6 +36,11 @@ CPPFLAGS += -DVERSION=\"2.0.0\"
CPPFLAGS += -DUSBGEM_CONFIG_GLDv3
LDFLAGS += -dy -N misc/mac -N drv/ip -N misc/usba -N misc/usbgem
+CERRWARN += -_gcc=-Wno-unused-value
+CERRWARN += -_gcc=-Wno-unused-function
+CERRWARN += -_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-unused-label
+
#
# Define targets
#
diff --git a/usr/src/uts/intel/upf/Makefile b/usr/src/uts/intel/upf/Makefile
index 402c0c4c2a..5698051c51 100644
--- a/usr/src/uts/intel/upf/Makefile
+++ b/usr/src/uts/intel/upf/Makefile
@@ -36,6 +36,11 @@ CPPFLAGS += -DVERSION=\"2.0.1\"
CPPFLAGS += -DUSBGEM_CONFIG_GLDv3
LDFLAGS += -dy -N misc/mac -N drv/ip -N misc/usba -N misc/usbgem
+CERRWARN += -_gcc=-Wno-type-limits
+CERRWARN += -_gcc=-Wno-unused-function
+CERRWARN += -_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-unused-label
+
#
# Define targets
#
diff --git a/usr/src/uts/intel/urf/Makefile b/usr/src/uts/intel/urf/Makefile
index 61d13f67e3..947cdac9e5 100644
--- a/usr/src/uts/intel/urf/Makefile
+++ b/usr/src/uts/intel/urf/Makefile
@@ -37,6 +37,10 @@ CPPFLAGS += -DUSBGEM_CONFIG_GLDv3
CERRWARN += -_gcc=-Wno-uninitialized
LDFLAGS += -dy -N misc/mac -N drv/ip -N misc/usba -N misc/usbgem
+CERRWARN += -_gcc=-Wno-unused-function
+CERRWARN += -_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-unused-label
+
#
# Define targets
#
diff --git a/usr/src/uts/intel/usbgem/Makefile b/usr/src/uts/intel/usbgem/Makefile
index eaa85ca084..4465fd6c92 100644
--- a/usr/src/uts/intel/usbgem/Makefile
+++ b/usr/src/uts/intel/usbgem/Makefile
@@ -45,6 +45,9 @@ CPPFLAGS += \
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
+CERRWARN += -_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-unused-label
+CERRWARN += -_gcc=-Wno-unused-function
LDFLAGS += -dy -N misc/mac -N drv/ip -N misc/usba