2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(INCLUDE_DIR
)/netfilter.mk
12 $(eval
$(call KMOD_template
,LOOP
,loop
,\
13 $(MODULES_DIR
)/kernel
/drivers
/block
/loop.ko \
14 ,CONFIG_BLK_DEV_LOOP
,,20,loop
))
16 $(eval
$(call KMOD_template
,NBD
,nbd
,\
17 $(MODULES_DIR
)/kernel
/drivers
/block
/nbd.ko \
18 ,CONFIG_BLK_DEV_NBD
,,20,nbd
))
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
))
26 $(eval
$(call KMOD_template
,FS_MINIX
,fs-minix
,\
27 $(MODULES_DIR
)/kernel
/fs
/minix
/minix.ko \
28 ,CONFIG_MINIX_FS
,,30,minix
))
30 $(eval
$(call KMOD_template
,FS_EXT2
,fs-ext2
,\
31 $(MODULES_DIR
)/kernel
/fs
/ext2
/ext2.ko \
32 ,CONFIG_EXT2_FS
,,30,ext2
))
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
))
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
))
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
))
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
))
54 $(eval
$(call KMOD_template
,FS_XFS
,fs-xfs
,\
55 $(MODULES_DIR
)/kernel
/fs
/xfs
/xfs.ko \
56 ,CONFIG_XFS_FS
,,30,xfs
))
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
))
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
))
74 $(eval
$(call KMOD_template
,NLS_BASE
,nls-base
,\
75 $(MODULES_DIR
)/kernel
/fs
/nls
/nls_base.ko \
76 ,CONFIG_NLS
,,20,nls_base
))
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
))
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
))
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
))
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
))
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
))
101 $(eval
$(call KMOD_template
,NET_AIRO
,net-airo
,\
102 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/airo.ko \
103 ,CONFIG_AIRO
,,10,airo
))
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
))
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
))
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
))
118 $(eval
$(call KMOD_template
,NET_PRISM54
,net-prism54
,\
119 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/prism54
/prism54.ko \
120 ,CONFIG_PRISM54
,,10,prism54
))
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
))
132 $(eval
$(call KMOD_template
,PCMCIA_SERIAL
,pcmcia-serial
,\
133 $(MODULES_DIR
)/kernel
/drivers
/serial
/serial_cs.ko \
134 ,CONFIG_SERIAL_8250_CS
))
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
))
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 \