improve parallel building
[openwrt.git] / include / modules-2.6.mk
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 NF_2_6:=1
8 include $(INCLUDE_DIR)/netfilter.mk
9
10 # Block devices
11
12 $(eval $(call KMOD_template,LOOP,loop,\
13 $(MODULES_DIR)/kernel/drivers/block/loop.ko \
14 ,CONFIG_BLK_DEV_LOOP,,20,loop))
15
16 $(eval $(call KMOD_template,NBD,nbd,\
17 $(MODULES_DIR)/kernel/drivers/block/nbd.ko \
18 ,CONFIG_BLK_DEV_NBD,,20,nbd))
19
20 # Filesystems
21
22 $(eval $(call KMOD_template,FS_CIFS,fs-cifs,\
23 $(MODULES_DIR)/kernel/fs/cifs/cifs.ko \
24 ,CONFIG_CIFS,kmod-nls-base,30,cifs))
25
26 $(eval $(call KMOD_template,FS_MINIX,fs-minix,\
27 $(MODULES_DIR)/kernel/fs/minix/minix.ko \
28 ,CONFIG_MINIX_FS,,30,minix))
29
30 $(eval $(call KMOD_template,FS_EXT2,fs-ext2,\
31 $(MODULES_DIR)/kernel/fs/ext2/ext2.ko \
32 ,CONFIG_EXT2_FS,,30,ext2))
33
34 $(eval $(call KMOD_template,FS_EXT3,fs-ext3,\
35 $(MODULES_DIR)/kernel/fs/ext3/ext3.ko \
36 $(MODULES_DIR)/kernel/fs/jbd/jbd.ko \
37 ,CONFIG_EXT3_FS,,30,jbd ext3))
38
39 $(eval $(call KMOD_template,FS_HFSPLUS,fs-hfsplus,\
40 $(MODULES_DIR)/kernel/fs/hfsplus/hfsplus.ko \
41 ,CONFIG_HFSPLUS_FS,kmod-nls-base,30,hfsplus))
42
43 $(eval $(call KMOD_template,FS_NFS,fs-nfs,\
44 $(MODULES_DIR)/kernel/fs/lockd/lockd.ko \
45 $(MODULES_DIR)/kernel/fs/nfs/nfs.ko \
46 $(MODULES_DIR)/kernel/net/sunrpc/sunrpc.ko \
47 ,CONFIG_NFS_FS,,30,sunrpc lockd nfs))
48
49 $(eval $(call KMOD_template,FS_VFAT,fs-vfat,\
50 $(MODULES_DIR)/kernel/fs/fat/fat.ko \
51 $(MODULES_DIR)/kernel/fs/vfat/vfat.ko \
52 ,CONFIG_VFAT_FS,kmod-nls-base,30,fat vfat))
53
54 $(eval $(call KMOD_template,FS_XFS,fs-xfs,\
55 $(MODULES_DIR)/kernel/fs/xfs/xfs.ko \
56 ,CONFIG_XFS_FS,,30,xfs))
57
58
59 # Multimedia
60
61 $(eval $(call KMOD_template,PWC,pwc,\
62 $(MODULES_DIR)/kernel/drivers/usb/media/pwc/pwc.ko \
63 ,CONFIG_USB_PWC,kmod-videodev,63,pwc))
64
65 $(eval $(call KMOD_template,VIDEODEV,videodev,\
66 $(MODULES_DIR)/kernel/drivers/media/video/v4l1-compat.ko \
67 $(MODULES_DIR)/kernel/drivers/media/video/v4l2-common.ko \
68 $(MODULES_DIR)/kernel/drivers/media/video/videodev.ko \
69 ,CONFIG_VIDEO_DEV,,62,videodev))
70
71
72 # NLS
73
74 $(eval $(call KMOD_template,NLS_BASE,nls-base,\
75 $(MODULES_DIR)/kernel/fs/nls/nls_base.ko \
76 ,CONFIG_NLS,,20,nls_base))
77
78 $(eval $(call KMOD_template,NLS_CP437,nls-cp437,\
79 $(MODULES_DIR)/kernel/fs/nls/nls_cp437.ko \
80 ,CONFIG_NLS_CODEPAGE_437,,20,nls_cp437))
81
82 $(eval $(call KMOD_template,NLS_CP850,nls-cp850,\
83 $(MODULES_DIR)/kernel/fs/nls/nls_cp850.ko \
84 ,CONFIG_NLS_CODEPAGE_850,,20,nls_cp850))
85
86 $(eval $(call KMOD_template,NLS_ISO8859_1,nls-iso8859-1,\
87 $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-1.ko \
88 ,CONFIG_NLS_ISO8859_1,,20,nls_iso8859-1))
89
90 $(eval $(call KMOD_template,NLS_ISO8859_15,nls-iso8859-15,\
91 $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-15.ko \
92 ,CONFIG_NLS_ISO8859_15,,20,nls_iso8859-15))
93
94 $(eval $(call KMOD_template,NLS_UTF8,nls-utf8,\
95 $(MODULES_DIR)/kernel/fs/nls/nls_utf8.ko \
96 ,CONFIG_NLS_UTF8,,20,nls_utf8))
97
98
99 # Network devices
100
101 $(eval $(call KMOD_template,NET_AIRO,net-airo,\
102 $(MODULES_DIR)/kernel/drivers/net/wireless/airo.ko \
103 ,CONFIG_AIRO,,10,airo))
104
105 $(eval $(call KMOD_template,NET_HERMES,net-hermes,\
106 $(MODULES_DIR)/kernel/drivers/net/wireless/hermes.ko \
107 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco.ko \
108 ,CONFIG_HERMES,,10,hermes orinoco))
109
110 $(eval $(call KMOD_template,NET_HERMES_PCI,net-hermes-pci,\
111 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco_pci.ko \
112 ,CONFIG_PCI_HERMES,kmod-net-hermes,11,orinoco_pci))
113
114 $(eval $(call KMOD_template,NET_HERMES_PCI,net-hermes-plx,\
115 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco_plx.ko \
116 ,CONFIG_PLX_HERMES,kmod-net-hermes,11,orinoco_plx))
117
118 $(eval $(call KMOD_template,NET_PRISM54,net-prism54,\
119 $(MODULES_DIR)/kernel/drivers/net/wireless/prism54/prism54.ko \
120 ,CONFIG_PRISM54,,10,prism54))
121
122
123 # PCMCIA/CardBus
124
125 $(eval $(call KMOD_template,PCMCIA_CORE,pcmcia-core,\
126 $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia.ko \
127 $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia_core.ko \
128 $(MODULES_DIR)/kernel/drivers/pcmcia/yenta_socket.ko \
129 $(MODULES_DIR)/kernel/drivers/pcmcia/rsrc_nonstatic.ko \
130 ,CONFIG_PCMCIA,,50,pcmcia_core pcmcia yenta_socket rsrc_nonstatic))
131
132 $(eval $(call KMOD_template,PCMCIA_SERIAL,pcmcia-serial,\
133 $(MODULES_DIR)/kernel/drivers/serial/serial_cs.ko \
134 ,CONFIG_SERIAL_8250_CS))
135
136
137 # Misc. devices
138
139 $(eval $(call KMOD_template,AX25,ax25,\
140 $(MODULES_DIR)/kernel/net/ax25/ax25.ko \
141 $(MODULES_DIR)/kernel/drivers/net/hamradio/mkiss.ko \
142 ,CONFIG_AX25,,90,ax25 mkiss))
143
144 $(eval $(call KMOD_template,BLUETOOTH,bluetooth,\
145 $(MODULES_DIR)/kernel/net/bluetooth/bluetooth.ko \
146 $(MODULES_DIR)/kernel/net/bluetooth/l2cap.ko \
147 $(MODULES_DIR)/kernel/net/bluetooth/sco.ko \
148 $(MODULES_DIR)/kernel/net/bluetooth/rfcomm/rfcomm.ko \
149 $(MODULES_DIR)/kernel/drivers/bluetooth/hci_uart.ko \
150 $(MODULES_DIR)/kernel/drivers/bluetooth/hci_usb.ko \
151 ,CONFIG_BT))
152
153
This page took 0.051002 seconds and 5 git commands to generate.