author | Florian Pose <fp@igh-essen.com> |
Fri, 06 Jan 2006 16:19:35 +0000 | |
changeset 49 | 3f8e769ca747 |
parent 46 | f2d7a73d2f32 |
child 50 | 458e704afc6e |
permissions | -rw-r--r-- |
0 | 1 |
#---------------------------------------------------------------- |
2 |
# |
|
3 |
# Makefile |
|
4 |
# |
|
5 |
# Minimales EtherCAT-Modul |
|
6 |
# |
|
7 |
# $Id$ |
|
8 |
# |
|
9 |
#---------------------------------------------------------------- |
|
10 |
||
22
e8c2cd004e0b
Portierung der Module in drivers/ und mini/ nach Kernel 2.6.
Florian Pose <fp@igh-essen.com>
parents:
16
diff
changeset
|
11 |
ifneq ($(KERNELRELEASE),) |
5
6f2508af550c
Alle ?nderungen aus den Branches no_rtai und no_int nach Trunk portiert.
Florian Pose <fp@igh-essen.com>
parents:
0
diff
changeset
|
12 |
|
22
e8c2cd004e0b
Portierung der Module in drivers/ und mini/ nach Kernel 2.6.
Florian Pose <fp@igh-essen.com>
parents:
16
diff
changeset
|
13 |
#---------------------------------------------------------------- |
e8c2cd004e0b
Portierung der Module in drivers/ und mini/ nach Kernel 2.6.
Florian Pose <fp@igh-essen.com>
parents:
16
diff
changeset
|
14 |
# Kbuild-Abschnitt |
9
144d220c8ca0
Verbesserte Makefiles (Kernel-Verzeichnisse nicht mehr im SVN).
Florian Pose <fp@igh-essen.com>
parents:
5
diff
changeset
|
15 |
|
22
e8c2cd004e0b
Portierung der Module in drivers/ und mini/ nach Kernel 2.6.
Florian Pose <fp@igh-essen.com>
parents:
16
diff
changeset
|
16 |
obj-m := ec_mini_mod.o |
0 | 17 |
|
22
e8c2cd004e0b
Portierung der Module in drivers/ und mini/ nach Kernel 2.6.
Florian Pose <fp@igh-essen.com>
parents:
16
diff
changeset
|
18 |
ec_mini_mod-objs := ec_mini.o |
0 | 19 |
|
20 |
#---------------------------------------------------------------- |
|
21 |
||
22
e8c2cd004e0b
Portierung der Module in drivers/ und mini/ nach Kernel 2.6.
Florian Pose <fp@igh-essen.com>
parents:
16
diff
changeset
|
22 |
else |
0 | 23 |
|
22
e8c2cd004e0b
Portierung der Module in drivers/ und mini/ nach Kernel 2.6.
Florian Pose <fp@igh-essen.com>
parents:
16
diff
changeset
|
24 |
#---------------------------------------------------------------- |
e8c2cd004e0b
Portierung der Module in drivers/ und mini/ nach Kernel 2.6.
Florian Pose <fp@igh-essen.com>
parents:
16
diff
changeset
|
25 |
# Default-Abschnitt |
0 | 26 |
|
46
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
24
diff
changeset
|
27 |
modules: |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
24
diff
changeset
|
28 |
$(MAKE) -C .. |
0 | 29 |
|
30 |
clean: |
|
46
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
24
diff
changeset
|
31 |
$(MAKE) -C .. clean |
0 | 32 |
|
33 |
#---------------------------------------------------------------- |
|
10
67c739ece5d5
depend-Sektion in den Makefiles korrigiert.
Florian Pose <fp@igh-essen.com>
parents:
9
diff
changeset
|
34 |
|
67c739ece5d5
depend-Sektion in den Makefiles korrigiert.
Florian Pose <fp@igh-essen.com>
parents:
9
diff
changeset
|
35 |
endif |