source: trunk/package/kernel/modules/pcmcia.mk @ 21136

Last change on this file since 21136 was 21136, checked in by nico, 7 years ago

package/kernel: move PCMCIA modules to their own file & submenu

  • Property svn:eol-style set to native
File size: 2.2 KB
Line 
1#
2# Copyright (C) 2006-2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8PCMCIA_MENU:=PCMCIA support
9
10define KernelPackage/pcmcia-core
11  SUBMENU:=$(PCMCIA_MENU)
12  TITLE:=PCMCIA/CardBus support
13  DEPENDS:=@PCMCIA_SUPPORT
14  KCONFIG:= \
15        CONFIG_PCMCIA \
16        CONFIG_CARDBUS \
17        CONFIG_PCCARD \
18        PCMCIA_DEBUG=n
19endef
20
21define KernelPackage/pcmcia-core/2.4
22#  KCONFIG:= \
23#       CONFIG_PCMCIA \
24#       CONFIG_CARDBUS
25  FILES:= \
26        $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
27        $(LINUX_DIR)/drivers/pcmcia/ds.$(LINUX_KMOD_SUFFIX) \
28        $(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX)
29  AUTOLOAD:=$(call AutoLoad,25,pcmcia_core ds yenta_socket)
30endef
31
32define KernelPackage/pcmcia-core/2.6
33#  KCONFIG:= \
34#       CONFIG_PCCARD \
35#       CONFIG_PCMCIA \
36#       PCMCIA_DEBUG=n
37  FILES:= \
38        $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
39        $(LINUX_DIR)/drivers/pcmcia/pcmcia.$(LINUX_KMOD_SUFFIX)
40  AUTOLOAD:=$(call AutoLoad,25,pcmcia_core pcmcia)
41endef
42
43define KernelPackage/pcmcia-core/description
44 Kernel support for PCMCIA/CardBus controllers
45endef
46
47$(eval $(call KernelPackage,pcmcia-core))
48
49
50define KernelPackage/pcmcia-yenta
51  SUBMENU:=$(PCMCIA_MENU)
52  TITLE:=yenta socket driver
53  DEPENDS:=@LINUX_2_6 kmod-pcmcia-core
54  KCONFIG:= \
55        CONFIG_PCCARD_NONSTATIC \
56        CONFIG_YENTA
57  FILES:= \
58        $(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX) \
59        $(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX)
60  AUTOLOAD:=$(call AutoLoad,41,rsrc_nonstatic yenta_socket)
61endef
62
63$(eval $(call KernelPackage,pcmcia-yenta))
64
65
66define KernelPackage/pcmcia-serial
67  SUBMENU:=$(PCMCIA_MENU)
68  TITLE:=Serial devices support
69  DEPENDS:=kmod-pcmcia-core
70  KCONFIG:= \
71        CONFIG_PCMCIA_SERIAL_CS \
72        CONFIG_SERIAL_8250_CS
73  AUTOLOAD:=$(call AutoLoad,45,serial_cs)
74endef
75
76define KernelPackage/pcmcia-serial/2.4
77#  KCONFIG:=CONFIG_PCMCIA_SERIAL_CS
78  FILES:=$(LINUX_DIR)/drivers/char/pcmcia/serial_cs.$(LINUX_KMOD_SUFFIX)
79endef
80
81define KernelPackage/pcmcia-serial/2.6
82#  KCONFIG:=CONFIG_SERIAL_8250_CS
83  FILES:=$(LINUX_DIR)/drivers/serial/serial_cs.$(LINUX_KMOD_SUFFIX)
84endef
85
86define KernelPackage/pcmcia-serial/description
87 Kernel support for PCMCIA/CardBus serial devices
88endef
89
90$(eval $(call KernelPackage,pcmcia-serial))
Note: See TracBrowser for help on using the repository browser.