summaryrefslogtreecommitdiff
path: root/e1000-xioh/Makefile
diff options
context:
space:
mode:
authorNicolas HICHER (atarakt) <nhicher@proformatique.com>2012-12-06 12:07:03 -0500
committerNicolas HICHER (atarakt) <nhicher@proformatique.com>2012-12-06 12:07:03 -0500
commit853415c7720384cd8e872a3859af5ebfa9b40f89 (patch)
treec581a7dc1abc156aa7fed03b2cdb0269f7661f4b /e1000-xioh/Makefile
parent8559080eec4777fddef519359839404d27c7d4e9 (diff)
[evo] add Makefile.pkg and change src directoryHEADmaster
Diffstat (limited to 'e1000-xioh/Makefile')
-rw-r--r--e1000-xioh/Makefile63
1 files changed, 63 insertions, 0 deletions
diff --git a/e1000-xioh/Makefile b/e1000-xioh/Makefile
new file mode 100644
index 0000000..f425b93
--- /dev/null
+++ b/e1000-xioh/Makefile
@@ -0,0 +1,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