7790 Want support for XXV710
[unleashed.git] / usr / src / cmd / mdb / intel / modules / i40e / amd64 / Makefile
blob66f97451b6fccdf1bb4e43b2db30ed2068cf8fe5
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2017 Joyent, Inc.
16 MODULE = i40e.so
17 MDBTGT = kvm
19 MODSRCS = i40e.c
21 include ../../../../../Makefile.cmd
22 include ../../../../../Makefile.cmd.64
23 include ../../../Makefile.amd64
24 include ../../../../Makefile.module
26 CPPFLAGS += -I$(SRC)/uts/common/io/i40e
27 CPPFLAGS += -I$(SRC)/uts/common/io/i40e/core
28 CPPFLAGS += -I$(SRC)/uts/common
29 CPPFLAGS += -D_I40E_MDB_DMOD
32 # i40e needs this due to the use of Intel provided headers.
34 LINTFLAGS64 += -erroff=E_STATIC_UNUSED
37 # The Intel common code defines some enums which are valid unsigned ints that
38 # GCC is fine with, but not Studio.
40 CERRWARN += -_cc=-erroff=E_ENUM_VAL_OVERFLOWS_INT_MAX
41 LINTTAGS += -erroff=E_ENUM_VAL_OVERFLOWS_INT_MAX