d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi# This file and its contents are supplied under the terms of the
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi# Common Development and Distribution License ("CDDL"), version 1.0.
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi# You may only use this file in accordance with the terms of version
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi# 1.0 of the CDDL.
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi# A full copy of the text of the CDDL should have accompanied this
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi# source. A copy of the CDDL is also available via the Internet at
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi# Copyright (c) 2014, Joyent, Inc. All rights reserved.
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi# This makefile drives the production of the bnxe
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi# driver kernel module.
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi# intel architecture dependent
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi# Paths to the base of the uts directory trees
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi# Define the module and object file sets.
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi# Include common rules.
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi# Define targets
d14abf155341d55053c76eeec58b787a456b753bRobert MustacchiINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi# Driver-specific flags
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi# XXX inline bits were originally set to inline
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi -I$(SRCDIR)/577xx/drivers/common/include/l4 \
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi -I$(SRCDIR)/577xx/drivers/common/include/l5 \
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi -I$(SRCDIR)/577xx/drivers/common/lm/device \
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi -I$(SRCDIR)/577xx/drivers/common/lm/include \
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi -I$(SRCDIR)/577xx/drivers/common/lm/l4/include \
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi -I$(SRCDIR)/577xx/drivers/common/lm/l5/include \
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi#CERRWARN += -_gcc=-Wno-old-style-declaration
d14abf155341d55053c76eeec58b787a456b753bRobert MustacchiCERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED
d14abf155341d55053c76eeec58b787a456b753bRobert MustacchiCERRWARN += -_cc=-erroff=E_ARGUEMENT_MISMATCH
d14abf155341d55053c76eeec58b787a456b753bRobert MustacchiCERRWARN += -_cc=-erroff=E_INTEGER_OVERFLOW_DETECTED
d14abf155341d55053c76eeec58b787a456b753bRobert MustacchiCERRWARN += -_cc=-erroff=E_CONST_PROMOTED_UNSIGNED_LL
d14abf155341d55053c76eeec58b787a456b753bRobert MustacchiCERRWARN += -_cc=-erroff=E_ENUM_VAL_OVERFLOWS_INT_MAX
d14abf155341d55053c76eeec58b787a456b753bRobert MustacchiLINTTAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
d14abf155341d55053c76eeec58b787a456b753bRobert MustacchiLINTTAGS += -erroff=E_FUNC_RET_MAYBE_IGNORED2
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi# Default build targets.
d14abf155341d55053c76eeec58b787a456b753bRobert Mustacchi# Include common targets.