diff options
| author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-05-04 05:18:50 -0500 |
|---|---|---|
| committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-05-04 05:18:50 -0500 |
| commit | 5f2e2b74dcd97da749ffb17761b8249d8a9f27f2 (patch) | |
| tree | 91a552d7a667dbfd71cbad55f1874cdacc34e333 /drivers/net/Makefile | |
| parent | e9df2323048846492444f2dc0bfae93f4457083f (diff) | |
drivers/net/Makefile cleanup
Group selecting subdirs and linking them together. (Doesn't change
the link order)
Diffstat (limited to 'drivers/net/Makefile')
| -rw-r--r-- | drivers/net/Makefile | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/drivers/net/Makefile b/drivers/net/Makefile index 67bddbaa4af4..9a3bc8a1cdb0 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile @@ -8,7 +8,8 @@ obj-m := obj-n := obj- := -mod-subdirs := appletalk arcnet fc irda tokenring tulip pcmcia wireless wan +mod-subdirs := appletalk arcnet fc irda tokenring tulip pcmcia wireless \ + wan ../acorn/net O_TARGET := net.o @@ -20,13 +21,6 @@ export-objs := 8390.o arlan.o aironet4500_core.o aironet4500_card.o \ net_init.o mii.o rcpci-objs := rcpci45.o rclanmtl.o -ifeq ($(CONFIG_E100),y) - obj-y += e100/e100.o -endif -ifeq ($(CONFIG_E1000),y) - obj-y += e1000/e1000.o -endif - ifeq ($(CONFIG_ISDN_PPP),y) obj-$(CONFIG_ISDN) += slhc.o endif @@ -34,16 +28,23 @@ endif subdir-$(CONFIG_NET_PCMCIA) += pcmcia subdir-$(CONFIG_NET_WIRELESS) += wireless subdir-$(CONFIG_NET_TULIP) += tulip + subdir-$(CONFIG_E100) += e100 +ifeq ($(CONFIG_E100),y) + obj-y += e100/e100.o +endif + subdir-$(CONFIG_E1000) += e1000 +ifeq ($(CONFIG_E1000),y) + obj-y += e1000/e1000.o +endif + subdir-$(CONFIG_IRDA) += irda subdir-$(CONFIG_TR) += tokenring subdir-$(CONFIG_WAN) += wan subdir-$(CONFIG_NET_FC) += fc subdir-$(CONFIG_ARCNET) += arcnet subdir-$(CONFIG_DEV_APPLETALK) += appletalk -subdir-$(CONFIG_SK98LIN) += sk98lin -subdir-$(CONFIG_SKFP) += skfp # # link order important here @@ -83,10 +84,12 @@ obj-$(CONFIG_FEALNX) += fealnx.o mii.o obj-$(CONFIG_TIGON3) += tg3.o obj-$(CONFIG_TC35815) += tc35815.o +subdir-$(CONFIG_SK98LIN) += sk98lin ifeq ($(CONFIG_SK98LIN),y) obj-y += sk98lin/sk98lin.o endif +subdir-$(CONFIG_SKFP) += skfp ifeq ($(CONFIG_SKFP),y) obj-y += skfp/skfp.o endif @@ -215,10 +218,9 @@ obj-$(CONFIG_MAC89x0) += mac89x0.o obj-$(CONFIG_TUN) += tun.o obj-$(CONFIG_DL2K) += dl2k.o +subdir-$(CONFIG_ARCH_ACORN) += ../acorn/net ifeq ($(CONFIG_ARCH_ACORN),y) -mod-subdirs += ../acorn/net -subdir-y += ../acorn/net -obj-y += ../acorn/net/acorn-net.o + obj-y += ../acorn/net/acorn-net.o endif include $(TOPDIR)/Rules.make |
