diff options
author | Matt Mackall <mpm@selenic.com> | 2006-01-08 04:05:22 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-08 23:14:10 -0500 |
commit | 18e92b12e83bef077a31ba6871f1aec3621b69e3 (patch) | |
tree | 598f4eee47f2a3af7a7df040a23251bdede08ba9 | |
parent | 33443c42f4ffa5ca23b3323234bcb1a78e85d9db (diff) |
[PATCH] tiny: Trim non-IPX builds
trivial: drop unused 802.3 code if we compile without IPX
(originally from http://wohnheim.fh-wedel.de/~joern/software/kernel/je/25/)
Signed-off-by: Matt Mackall <mpm@selenic.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | net/802/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/802/Makefile b/net/802/Makefile index 01861929591a..977704a54f68 100644 --- a/net/802/Makefile +++ b/net/802/Makefile | |||
@@ -2,8 +2,6 @@ | |||
2 | # Makefile for the Linux 802.x protocol layers. | 2 | # Makefile for the Linux 802.x protocol layers. |
3 | # | 3 | # |
4 | 4 | ||
5 | obj-y := p8023.o | ||
6 | |||
7 | # Check the p8022 selections against net/core/Makefile. | 5 | # Check the p8022 selections against net/core/Makefile. |
8 | obj-$(CONFIG_SYSCTL) += sysctl_net_802.o | 6 | obj-$(CONFIG_SYSCTL) += sysctl_net_802.o |
9 | obj-$(CONFIG_LLC) += p8022.o psnap.o | 7 | obj-$(CONFIG_LLC) += p8022.o psnap.o |
@@ -11,5 +9,5 @@ obj-$(CONFIG_TR) += p8022.o psnap.o tr.o sysctl_net_802.o | |||
11 | obj-$(CONFIG_NET_FC) += fc.o | 9 | obj-$(CONFIG_NET_FC) += fc.o |
12 | obj-$(CONFIG_FDDI) += fddi.o | 10 | obj-$(CONFIG_FDDI) += fddi.o |
13 | obj-$(CONFIG_HIPPI) += hippi.o | 11 | obj-$(CONFIG_HIPPI) += hippi.o |
14 | obj-$(CONFIG_IPX) += p8022.o psnap.o | 12 | obj-$(CONFIG_IPX) += p8022.o psnap.o p8023.o |
15 | obj-$(CONFIG_ATALK) += p8022.o psnap.o | 13 | obj-$(CONFIG_ATALK) += p8022.o psnap.o |