X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/83790f74ad846ab2a50c71fab34a2d7755df4a95..f0cc040988617eacc9d7e950fe43b75399050501:/package/kernel/modules/other.mk?ds=inline diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index bd598fc3b..d7bdf0f42 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -154,10 +154,10 @@ define KernelPackage/pcmcia-core TITLE:=PCMCIA/CardBus support DESCRIPTION:=Kernel support for PCMCIA/CardBus controllers SUBMENU:=$(EMENU) - KCONFIG:=$(CONFIG_PCMCIA) endef define KernelPackage/pcmcia-core/2.4 + KCONFIG:=$(CONFIG_PCMCIA) FILES:= \ $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX) \ @@ -166,9 +166,10 @@ define KernelPackage/pcmcia-core/2.4 endef define KernelPackage/pcmcia-core/2.6 + KCONFIG:=$(CONFIG_PCCARD) FILES:= \ $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \ - $(LINUX_DIR)/drivers/pcmcia/pcmcia.$(LINUX_KMOD_SUFFIX) \ + $(if $(CONFIG_PCMCIA),$(LINUX_DIR)/drivers/pcmcia/pcmcia.$(LINUX_KMOD_SUFFIX)) \ $(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,40,pcmcia_core pcmcia rsrc_nonstatic yenta_socket) @@ -329,7 +330,7 @@ define KernelPackage/scx200-wdt SUBMENU:=$(EMENU) KCONFIG:=$(CONFIG_SC1200_WDT) FILES:=$(LINUX_DIR)/drivers/char/watchdog/scx200_wdt.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,50,scx200_wt) + AUTOLOAD:=$(call AutoLoad,50,scx200_wdt) endef $(eval $(call KernelPackage,scx200-wdt))