Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
1N/A# The contents of this file are subject to the terms of the 1N/A# Common Development and Distribution License (the "License"). 1N/A# You may not use this file except in compliance with the License. 1N/A# See the License for the specific language governing permissions 1N/A# and limitations under the License. 1N/A# When distributing Covered Code, include this CDDL HEADER in each 1N/A# If applicable, add the following below this CDDL HEADER, with the 1N/A# fields enclosed by brackets "[]" replaced with your own identifying 1N/A# information: Portions Copyright [yyyy] [name of copyright owner] 1N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 1N/A# Use is subject to license terms. 1N/A# This makefile drives the production of the N2 NIU 1N/A# 10G and SUN 10G/1G Ethernet leaf driver kernel module. 1N/A# sun4v implementation architecture dependent 1N/A# Path to the base of the uts directory tree (usually /usr/src/uts). 1N/A# Define the module and object file sets. 1N/A# Include common rules. 1N/A# Turn on doubleword alignment for 64 bit registers 1N/A# Include nxge specific header files # lint pass one enforcement # Enable the following flags to run mac internal loopback under legion #CFLAGS += -DLEGION -DAXIS -DAXIS_DEBUG -DAXIS_DEBUG_LB -DSAM_DEBUG # Enable the following flags to run mac internal loopback under AXIS # (NOTE: LEGION flag can be enabled too) #CFLAGS += -DAXIS_DEBUG -DAXIS -DAXIS_DEBUG_LB -DSAM_DEBUG -DLEGION #CFLAGS += -DUSE_RX_BUFF_ATTR #CFLAGS += -DNIU_PA_WORKAROUND #CFLAGS += -DNIU_HV_WORKAROUND # STREAMS, DDI API limitations and other ON header file definitions such as ethernet.h # force us to turn off these lint checks. # Driver depends on mac & IP # Include common targets.