author | Florian Pose <fp@igh-essen.com> |
Mon, 26 Jan 2009 11:51:53 +0000 | |
changeset 1331 | 7cd33a77f926 |
parent 1326 | ef907b0b5125 |
child 1363 | 11c0b2caa253 |
permissions | -rw-r--r-- |
667
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
1 |
#------------------------------------------------------------------------------ |
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
2 |
# |
892
1e1e567fc53b
Added vim modelines and properties.
Florian Pose <fp@igh-essen.com>
parents:
732
diff
changeset
|
3 |
# $Id$ |
667
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
4 |
# |
1326
ef907b0b5125
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents:
1074
diff
changeset
|
5 |
# Copyright (C) 2006-2008 Florian Pose, Ingenieurgemeinschaft IgH |
667
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
6 |
# |
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
7 |
# This file is part of the IgH EtherCAT Master. |
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
8 |
# |
1326
ef907b0b5125
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents:
1074
diff
changeset
|
9 |
# The IgH EtherCAT Master is free software; you can redistribute it and/or |
ef907b0b5125
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents:
1074
diff
changeset
|
10 |
# modify it under the terms of the GNU General Public License version 2, as |
ef907b0b5125
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents:
1074
diff
changeset
|
11 |
# published by the Free Software Foundation. |
667
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
12 |
# |
1326
ef907b0b5125
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents:
1074
diff
changeset
|
13 |
# The IgH EtherCAT Master is distributed in the hope that it will be useful, |
ef907b0b5125
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents:
1074
diff
changeset
|
14 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
ef907b0b5125
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents:
1074
diff
changeset
|
15 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General |
ef907b0b5125
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents:
1074
diff
changeset
|
16 |
# Public License for more details. |
667
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
17 |
# |
1326
ef907b0b5125
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents:
1074
diff
changeset
|
18 |
# You should have received a copy of the GNU General Public License along |
ef907b0b5125
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents:
1074
diff
changeset
|
19 |
# with the IgH EtherCAT Master; if not, write to the Free Software |
667
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
20 |
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
21 |
# |
1326
ef907b0b5125
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents:
1074
diff
changeset
|
22 |
# Using the EtherCAT technology and brand is permitted in compliance with the |
ef907b0b5125
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
Florian Pose <fp@igh-essen.com>
parents:
1074
diff
changeset
|
23 |
# industrial property and similar rights of Beckhoff Automation GmbH. |
667
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
24 |
# |
892
1e1e567fc53b
Added vim modelines and properties.
Florian Pose <fp@igh-essen.com>
parents:
732
diff
changeset
|
25 |
# vim: syntax=make |
1e1e567fc53b
Added vim modelines and properties.
Florian Pose <fp@igh-essen.com>
parents:
732
diff
changeset
|
26 |
# |
667
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
27 |
#------------------------------------------------------------------------------ |
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
28 |
|
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
29 |
TOPDIR := $(src)/../.. |
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
30 |
|
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
31 |
REV := $(shell if test -s $(TOPDIR)/svnrevision; then \ |
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
32 |
cat $(TOPDIR)/svnrevision; \ |
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
33 |
else \ |
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
34 |
svnversion $(TOPDIR) 2>/dev/null || echo "unknown"; \ |
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
35 |
fi) |
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
36 |
|
732
0e6e1ef2b6bc
Removed config.kbuild and replaced Kbuild files by Kbuild.in files.
Florian Pose <fp@igh-essen.com>
parents:
685
diff
changeset
|
37 |
ifeq (@ENABLE_E1000@,1) |
1074
a82793a6d1a0
Added Kbuild files to BUILT_SOURCES in Makefile.am files to create dependencies.
Florian Pose <fp@igh-essen.com>
parents:
892
diff
changeset
|
38 |
EC_E1000_OBJ := \ |
a82793a6d1a0
Added Kbuild files to BUILT_SOURCES in Makefile.am files to create dependencies.
Florian Pose <fp@igh-essen.com>
parents:
892
diff
changeset
|
39 |
e1000_main-@KERNEL_E1000@-ethercat.o \ |
a82793a6d1a0
Added Kbuild files to BUILT_SOURCES in Makefile.am files to create dependencies.
Florian Pose <fp@igh-essen.com>
parents:
892
diff
changeset
|
40 |
e1000_hw-@KERNEL_E1000@-ethercat.o \ |
a82793a6d1a0
Added Kbuild files to BUILT_SOURCES in Makefile.am files to create dependencies.
Florian Pose <fp@igh-essen.com>
parents:
892
diff
changeset
|
41 |
e1000_ethtool-@KERNEL_E1000@-ethercat.o \ |
a82793a6d1a0
Added Kbuild files to BUILT_SOURCES in Makefile.am files to create dependencies.
Florian Pose <fp@igh-essen.com>
parents:
892
diff
changeset
|
42 |
e1000_param-@KERNEL_E1000@-ethercat.o |
667
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
43 |
obj-m += ec_e1000.o |
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
44 |
ec_e1000-objs := $(EC_E1000_OBJ) |
732
0e6e1ef2b6bc
Removed config.kbuild and replaced Kbuild files by Kbuild.in files.
Florian Pose <fp@igh-essen.com>
parents:
685
diff
changeset
|
45 |
CFLAGS_e1000_main-@KERNEL_E1000@-ethercat.o = -DSVNREV=$(REV) |
667
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
46 |
endif |
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
47 |
|
9feff35c9617
First version with e1000 driver (to be continued...)
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
48 |
#------------------------------------------------------------------------------ |