diff options
author | Krzysztof Halasa <khc@pm.waw.pl> | 2006-09-26 17:23:45 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-26 17:40:24 -0400 |
commit | eb2a2fd91f7c8a53b15063d6f08cf22b9a56cbfb (patch) | |
tree | 1d910a9460b76fd85ed02e8b9131270e4977f6f7 /drivers/net/wan/Makefile | |
parent | c226951b93f7cd7c3a10b17384535b617bd43fd0 (diff) |
[PATCH] Modularize generic HDLC
This patch enables building of individual WAN protocol support
routines (parts of generic HDLC) as separate modules.
All protocol-private definitions are moved from hdlc.h file
to protocol drivers. User-space interface and interface
between generic HDLC and underlying low-level HDLC drivers
are unchanged.
Signed-off-by: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/wan/Makefile')
-rw-r--r-- | drivers/net/wan/Makefile | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/drivers/net/wan/Makefile b/drivers/net/wan/Makefile index 316ca6869d5e..83ec2c87ba3f 100644 --- a/drivers/net/wan/Makefile +++ b/drivers/net/wan/Makefile | |||
@@ -9,14 +9,13 @@ cyclomx-y := cycx_main.o | |||
9 | cyclomx-$(CONFIG_CYCLOMX_X25) += cycx_x25.o | 9 | cyclomx-$(CONFIG_CYCLOMX_X25) += cycx_x25.o |
10 | cyclomx-objs := $(cyclomx-y) | 10 | cyclomx-objs := $(cyclomx-y) |
11 | 11 | ||
12 | hdlc-y := hdlc_generic.o | 12 | obj-$(CONFIG_HDLC) += hdlc.o |
13 | hdlc-$(CONFIG_HDLC_RAW) += hdlc_raw.o | 13 | obj-$(CONFIG_HDLC_RAW) += hdlc_raw.o |
14 | hdlc-$(CONFIG_HDLC_RAW_ETH) += hdlc_raw_eth.o | 14 | obj-$(CONFIG_HDLC_RAW_ETH) += hdlc_raw_eth.o |
15 | hdlc-$(CONFIG_HDLC_CISCO) += hdlc_cisco.o | 15 | obj-$(CONFIG_HDLC_CISCO) += hdlc_cisco.o |
16 | hdlc-$(CONFIG_HDLC_FR) += hdlc_fr.o | 16 | obj-$(CONFIG_HDLC_FR) += hdlc_fr.o |
17 | hdlc-$(CONFIG_HDLC_PPP) += hdlc_ppp.o | 17 | obj-$(CONFIG_HDLC_PPP) += hdlc_ppp.o syncppp.o |
18 | hdlc-$(CONFIG_HDLC_X25) += hdlc_x25.o | 18 | obj-$(CONFIG_HDLC_X25) += hdlc_x25.o |
19 | hdlc-objs := $(hdlc-y) | ||
20 | 19 | ||
21 | pc300-y := pc300_drv.o | 20 | pc300-y := pc300_drv.o |
22 | pc300-$(CONFIG_PC300_MLPPP) += pc300_tty.o | 21 | pc300-$(CONFIG_PC300_MLPPP) += pc300_tty.o |
@@ -38,10 +37,6 @@ obj-$(CONFIG_CYCLADES_SYNC) += cycx_drv.o cyclomx.o | |||
38 | obj-$(CONFIG_LAPBETHER) += lapbether.o | 37 | obj-$(CONFIG_LAPBETHER) += lapbether.o |
39 | obj-$(CONFIG_SBNI) += sbni.o | 38 | obj-$(CONFIG_SBNI) += sbni.o |
40 | obj-$(CONFIG_PC300) += pc300.o | 39 | obj-$(CONFIG_PC300) += pc300.o |
41 | obj-$(CONFIG_HDLC) += hdlc.o | ||
42 | ifeq ($(CONFIG_HDLC_PPP),y) | ||
43 | obj-$(CONFIG_HDLC) += syncppp.o | ||
44 | endif | ||
45 | obj-$(CONFIG_N2) += n2.o | 40 | obj-$(CONFIG_N2) += n2.o |
46 | obj-$(CONFIG_C101) += c101.o | 41 | obj-$(CONFIG_C101) += c101.o |
47 | obj-$(CONFIG_WANXL) += wanxl.o | 42 | obj-$(CONFIG_WANXL) += wanxl.o |