summaryrefslogtreecommitdiff
path: root/e1000-xioh/Makefile
blob: f425b93720efd28852d4069f105a3f7d133335d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
################################################################################
#
# Intel PRO/1000 Linux driver
# Copyright(c) 1999 - 2006 Intel Corporation.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms and conditions of the GNU General Public License,
# version 2, as published by the Free Software Foundation.
#
# This program is distributed in the hope it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
#
# The full GNU General Public License is included in this distribution in
# the file called "COPYING".
#
# Contact Information:
# Linux NICS <linux.nics@intel.com>
# e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>
# Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
#
################################################################################

#
# Makefile for the Intel(R) PRO/1000 ethernet driver
#

CONFIG_E1000 := m
CONFIG_E1000_EP80579 := y

ccflags-y += -DXIOH
ccflags-y += -DEXTERNAL_MDIO
ccflags-y += -DCONFIG_E1000_EP80579
ccflags-y += -DCONFIG_E1000_EP80579_PHY0
ccflags-y += -DCONFIG_E1000_EP80579_PHY1
ccflags-y += -DCONFIG_E1000_EP80579_PHY2
ccflags-y += -DCONFIG_E1000_EP80579_MAC0_BASE_NAME=\"eth\"
ccflags-y += -DCONFIG_E1000_EP80579_MAC1_BASE_NAME=\"eth\"
ccflags-y += -DCONFIG_E1000_EP80579_MAC2_BASE_NAME=\"eth\"

gcu-objs := gcu_main.o gcu_if.o

ifeq ($(CONFIG_E1000_EP80579),y)
    obj-$(CONFIG_E1000) += gcu.o
endif

e1000-objs := e1000_main.o e1000_hw.o e1000_ethtool.o e1000_param.o e1000_oem_phy.o

obj-$(CONFIG_E1000) += e1000.o

all: modules

KSRC ?= /bad__ksrc__not_set
modules modules_install clean:
	$(MAKE) -C $(KSRC) M=`pwd` $@

distclean: clean
	rm -f *.o .*.cmd *.ko modules.builtin modules.order