bcm63xx: enable bcm6368 for linux 3.3 and build images
[openwrt.git] / target / linux / brcm63xx / modules.mk
1 #
2 # Copyright (C) 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
8 define KernelPackage/bcm63xx-spi
9 SUBMENU:=$(SPI_MENU)
10 TITLE:=Broadcom BCM63xx SPI driver
11 DEPENDS:=@TARGET_brcm63xx +kmod-spi-bitbang
12 KCONFIG:=CONFIG_SPI_BCM63XX
13 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.3)),1)
14 FILES:=$(LINUX_DIR)/drivers/spi/spi-bcm63xx.ko
15 AUTOLOAD:=$(call AutoLoad,92,spi-bcm63xx)
16 else
17 FILES:=$(LINUX_DIR)/drivers/spi/bcm63xx_spi.ko
18 AUTOLOAD:=$(call AutoLoad,92,bcm63xx_spi)
19 endif
20 endef
21
22 define KernelPackage/bcm63xx-spi/description
23 This package contains the Broadcom BCM63xx SPI Master driver
24 endef
25
26 $(eval $(call KernelPackage,bcm63xx-spi))
27
28
29 define KernelPackage/pcmcia-bcm63xx
30 SUBMENU:=$(PCMCIA_MENU)
31 TITLE:=Broadcom BCM63xx PCMCIA support
32 DEPENDS:=@TARGET_brcm63xx +kmod-pcmcia-rsrc
33 KCONFIG:=CONFIG_PCMCIA_BCM63XX
34 FILES:=$(LINUX_DIR)/drivers/pcmcia/bcm63xx_pcmcia.ko
35 AUTOLOAD:=$(call AutoLoad,41,bcm63xx_pcmcia)
36 endef
37
38 define KernelPackage/pcmcia-bcm63xx/description
39 Kernel support for PCMCIA/CardBus controller on the BCM63xx SoC
40 endef
41
42 $(eval $(call KernelPackage,pcmcia-bcm63xx))
This page took 0.05329 seconds and 5 git commands to generate.