diff options
author | Nicolas Thill <nico@openwrt.org> | 2010-04-24 13:34:51 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2010-04-24 13:34:51 +0000 |
commit | 484051d05518b1f7fb53b535e84302849080272d (patch) | |
tree | d4fcbe83d1ea442b9b0a2470e95fc222536a114c /target | |
parent | 9ae19dcf8799314a89c7eabd57304c046f50d513 (diff) | |
download | upstream-484051d05518b1f7fb53b535e84302849080272d.tar.gz upstream-484051d05518b1f7fb53b535e84302849080272d.tar.bz2 upstream-484051d05518b1f7fb53b535e84302849080272d.zip |
package/kernel: move target specific modules to their own target files
SVN-Revision: 21132
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/adm5120/modules.mk | 56 | ||||
-rw-r--r-- | target/linux/at91/modules.mk | 21 | ||||
-rw-r--r-- | target/linux/au1000/modules.mk | 16 | ||||
-rw-r--r-- | target/linux/avr32/modules.mk | 21 | ||||
-rw-r--r-- | target/linux/brcm63xx/modules.mk | 37 | ||||
-rw-r--r-- | target/linux/etrax/modules.mk | 23 | ||||
-rw-r--r-- | target/linux/ixp4xx/modules.mk | 41 | ||||
-rw-r--r-- | target/linux/octeon/modules.mk | 39 | ||||
-rw-r--r-- | target/linux/ppc40x/modules.mk | 22 | ||||
-rw-r--r-- | target/linux/ps3/modules.mk | 44 | ||||
-rw-r--r-- | target/linux/pxcab/modules.mk | 21 | ||||
-rw-r--r-- | target/linux/rb532/modules.mk | 45 | ||||
-rw-r--r-- | target/linux/rdc/modules.mk | 22 |
13 files changed, 407 insertions, 1 deletions
diff --git a/target/linux/adm5120/modules.mk b/target/linux/adm5120/modules.mk new file mode 100644 index 0000000000..69b8d2ee3b --- /dev/null +++ b/target/linux/adm5120/modules.mk @@ -0,0 +1,56 @@ +# +# Copyright (C) 2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define KernelPackage/ledtrig-adm5120-switch + SUBMENU:=$(OTHER_MENU) + TITLE:=LED ADM5120 Switch Port Status Trigger + DEPENDS:=@TARGET_adm5120 + KCONFIG:=CONFIG_LEDS_TRIGGER_ADM5120_SWITCH + FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-adm5120-switch.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50,ledtrig-adm5120-switch) +endef + +define KernelPackage/ledtrig-adm5120-switch/description + Kernel module to allow LEDs to be controlled by the port states + of the ADM5120 built-in ethernet switch. +endef + +$(eval $(call KernelPackage,ledtrig-adm5120-switch)) + + +define KernelPackage/pata-rb153-cf + SUBMENU:=$(BLOCK_MENU) + TITLE:=RouterBOARD 153 CF Slot support + DEPENDS:=@TARGET_adm5120_router_le + KCONFIG:=CONFIG_PATA_RB153_CF + FILES:=$(LINUX_DIR)/drivers/ata/pata_rb153_cf.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,30,pata_rb153_cf,1) + $(call AddDepends/ata) +endef + +define KernelPackage/pata-rb153-cf/description + Kernel support for the RouterBoard 153 CF slot. +endef + +$(eval $(call KernelPackage,pata-rb153-cf,1)) + + +define KernelPackage/usb-adm5120 + SUBMENU:=$(USB_MENU) + TITLE:=Support for the ADM5120 HCD controller + DEPENDS:=@TARGET_adm5120 + KCONFIG:=CONFIG_USB_ADM5120_HCD + FILES:=$(LINUX_DIR)/drivers/usb/host/adm5120-hcd.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50,adm5120-hcd,1) + $(call AddDepends/usb) +endef + +define KernelPackage/usb-adm5120/description + Kernel support for the ADM5120 HCD USB controller +endef + +$(eval $(call KernelPackage,usb-adm5120)) diff --git a/target/linux/at91/modules.mk b/target/linux/at91/modules.mk new file mode 100644 index 0000000000..48cdef199a --- /dev/null +++ b/target/linux/at91/modules.mk @@ -0,0 +1,21 @@ +# +# Copyright (C) 2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define KernelPackage/mmc-at91 + SUBMENU:=$(OTHER_MENU) + TITLE:=MMC/SD Card Support on AT91 + DEPENDS:=@TARGET_at91 +kmod-mmc + KCONFIG:=CONFIG_MMC_AT91 + FILES:=$(LINUX_DIR)/drivers/mmc/host/at91_mci.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,90,at91_mci,1) +endef + +define KernelPackage/mmc-at91/description + Kernel support for MMC/SD cards on the AT91 target +endef + +$(eval $(call KernelPackage,mmc-at91)) diff --git a/target/linux/au1000/modules.mk b/target/linux/au1000/modules.mk new file mode 100644 index 0000000000..cab44aa6cd --- /dev/null +++ b/target/linux/au1000/modules.mk @@ -0,0 +1,16 @@ +# +# Copyright (C) 2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define KernelPackage/pcmcia-au1000 + SUBMENU:=$(OTHER_MENU) + TITLE:=RMI/AMD Au1000 PCMCIA support + DEPENDS:=@TARGET_au1000 kmod-pcmcia-core + FILES:=$(LINUX_DIR)/drivers/pcmcia/au1x00_ss.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,41,au1x00_ss) +endef + +$(eval $(call KernelPackage,pcmcia-au1000)) diff --git a/target/linux/avr32/modules.mk b/target/linux/avr32/modules.mk new file mode 100644 index 0000000000..7f1f0a2110 --- /dev/null +++ b/target/linux/avr32/modules.mk @@ -0,0 +1,21 @@ +# +# Copyright (C) 2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define KernelPackage/atmel-wdt + SUBMENU:=$(OTHER_MENU) + TITLE:=AT32AP700x watchdog + DEPENDS:=@TARGET_avr32 + KCONFIG:=CONFIG_AT32AP700X_WDT + FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/at32ap700x_wdt.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50,at32ap700x_wdt) +endef + +define KernelPackage/atmel-wdt/description + AT32AP700x watchdog +endef + +$(eval $(call KernelPackage,atmel-wdt)) diff --git a/target/linux/brcm63xx/modules.mk b/target/linux/brcm63xx/modules.mk new file mode 100644 index 0000000000..e588fe9623 --- /dev/null +++ b/target/linux/brcm63xx/modules.mk @@ -0,0 +1,37 @@ +# +# Copyright (C) 2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define KernelPackage/bcm63xx-spi + SUBMENU:=$(SPI_MENU) + TITLE:=Broadcom BCM63xx SPI driver + DEPENDS:=@TARGET_brcm63xx +kmod-spi-bitbang + KCONFIG:=CONFIG_SPI_BCM63XX + FILES:=$(LINUX_DIR)/drivers/spi/bcm63xx_spi.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,92,bcm63xx_spi) +endef + +define KernelPackage/bcm63xx-spi/description + This package contains the Broadcom BCM63xx SPI Master driver +endef + +$(eval $(call KernelPackage,bcm63xx-spi)) + + +define KernelPackage/pcmcia-bcm63xx + SUBMENU:=$(OTHER_MENU) + TITLE:=Broadcom BCM63xx PCMCIA support + DEPENDS:=@TARGET_brcm63xx kmod-pcmcia-core + KCONFIG:=CONFIG_PCMCIA_BCM63XX + FILES:=$(LINUX_DIR)/drivers/pcmcia/bcm63xx_pcmcia.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,41,bcm63xx_pcmcia) +endef + +define KernelPackage/pcmcia-bcm63xx/description + Kernel support for PCMCIA/CardBus controller on the BCM63xx SoC +endef + +$(eval $(call KernelPackage,pcmcia-bcm63xx)) diff --git a/target/linux/etrax/modules.mk b/target/linux/etrax/modules.mk new file mode 100644 index 0000000000..9c3bb0d72b --- /dev/null +++ b/target/linux/etrax/modules.mk @@ -0,0 +1,23 @@ +# +# Copyright (C) 2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define KernelPackage/usb-etrax + SUBMENU:=$(USB_MENU) + TITLE:=Support for the ETRAX USB host controller + DEPENDS:=@TARGET_etrax + KCONFIG:=CONFIG_ETRAX_USB_HOST \ + CONFIG_ETRAX_USB_HOST_PORT1=y CONFIG_ETRAX_USB_HOST_PORT2=y + FILES:=$(LINUX_DIR)/drivers/usb/host/hc-crisv10.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50,hc-crisv10,1) + $(call AddDepends/usb) +endef + +define KernelPackage/usb-etrax/description + Kernel support for the ETRAX USB host controller +endef + +$(eval $(call KernelPackage,usb-etrax)) diff --git a/target/linux/ixp4xx/modules.mk b/target/linux/ixp4xx/modules.mk new file mode 100644 index 0000000000..c58881b072 --- /dev/null +++ b/target/linux/ixp4xx/modules.mk @@ -0,0 +1,41 @@ +# +# Copyright (C) 2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define KernelPackage/ata-ixp4xx-cf + SUBMENU:=$(BLOCK_MENU) + TITLE:=IXP4XX Compact Flash support + DEPENDS:=@TARGET_ixp4xx + KCONFIG:=CONFIG_PATA_IXP4XX_CF + FILES:=$(LINUX_DIR)/drivers/ata/pata_ixp4xx_cf.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,41,pata_ixp4xx_cf,1) + $(call AddDepends/ata) +endef + +define KernelPackage/ata-ixp4xx-cf/description + IXP4XX Compact Flash support. +endef + +$(eval $(call KernelPackage,ata-ixp4xx-cf)) + + +define KernelPackage/ixp4xx-beeper + SUBMENU:=$(OTHER_MENU) + TITLE:=IXP4XX Beeper support + DEPENDS:=@TARGET_ixp4xx + KCONFIG:= \ + CONFIG_INPUT_MISC=y \ + CONFIG_INPUT_IXP4XX_BEEPER + FILES:=$(LINUX_DIR)/drivers/input/misc/ixp4xx-beeper.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50,ixp4xx-beeper) + $(call AddDepends/input) +endef + +define KernelPackage/ixp4xx-beeper/description + IXP4XX Beeper support +endef + +$(eval $(call KernelPackage,ixp4xx-beeper)) diff --git a/target/linux/octeon/modules.mk b/target/linux/octeon/modules.mk new file mode 100644 index 0000000000..a161d68493 --- /dev/null +++ b/target/linux/octeon/modules.mk @@ -0,0 +1,39 @@ +# +# Copyright (C) 2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define KernelPackage/ata-octeon-cf + SUBMENU:=$(BLOCK_MENU) + TITLE:=Octeon Compact Flash support + DEPENDS:=@TARGET_octeon + KCONFIG:=CONFIG_PATA_OCTEON_CF + FILES:=$(LINUX_DIR)/drivers/ata/pata_octeon_cf.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,41,pata_octeon_cf,1) + $(call AddDepends/ata) +endef + +define KernelPackage/ata-octeon-cf/description + Octeon Compact Flash support. +endef + +$(eval $(call KernelPackage,ata-octeon-cf)) + + +define KernelPackage/usb-octeon + SUBMENU:=$(USB_MENU) + TITLE:=Support for the Octeon USB OTG controller + DEPENDS:=@TARGET_octeon + KCONFIG:=CONFIG_USB_DWC_OTG + FILES:=$(LINUX_DIR)/drivers/usb/host/dwc_otg/dwc_otg.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50,dwc_otg) + $(call AddDepends/usb) +endef + +define KernelPackage/usb-octeon/description + Kernel support for the Octeon USB host controller +endef + +$(eval $(call KernelPackage,usb-octeon)) diff --git a/target/linux/ppc40x/modules.mk b/target/linux/ppc40x/modules.mk new file mode 100644 index 0000000000..7a1247672c --- /dev/null +++ b/target/linux/ppc40x/modules.mk @@ -0,0 +1,22 @@ +# +# Copyright (C) 2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define KernelPackage/ata-magicbox-cf + SUBMENU:=$(BLOCK_MENU) + TITLE:=Magicbox v2/OpenRB Compact flash support + DEPENDS:=@TARGET_ppc40x + KCONFIG:=CONFIG_PATA_MAGICBOX_CF + FILES:=$(LINUX_DIR)/drivers/ata/pata_magicbox_cf.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,41,pata_magicbox_cf,1) + $(call AddDepends/ata) +endef + +define KernelPackage/ata-magicbox-cf/description + Support for Magicbox v2/OpenRB on-board CF slot. +endef + +$(eval $(call KernelPackage,ata-magicbox-cf)) diff --git a/target/linux/ps3/modules.mk b/target/linux/ps3/modules.mk index f38ccc4134..258652459f 100644 --- a/target/linux/ps3/modules.mk +++ b/target/linux/ps3/modules.mk @@ -1,7 +1,14 @@ +# +# Copyright (C) 2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + define KernelPackage/ps3lan SUBMENU:=Network Devices TITLE:=PS3-Lan support - DEPENDS:=@LINUX_2_6 @TARGET_ps3 + DEPENDS:=@TARGET_ps3 KCONFIG:= \ CONFIG_GELIC_NET \ CONFIG_GELIC_WIRELESS=y @@ -14,3 +21,38 @@ define KernelPackage/ps3lan/description endef $(eval $(call KernelPackage,ps3lan)) + + +define KernelPackage/ps3vram + SUBMENU:=$(BLOCK_MENU) + TITLE:=PS3 Video RAM Storage Driver + DEPENDS:=@TARGET_ps3 + KCONFIG:=CONFIG_PS3_VRAM + FILES:=$(LINUX_DIR)/drivers/block/ps3vram.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,01,ps3vram) +endef + +define KernelPackage/ps3vram/description + Kernel support for PS3 Video RAM Storage +endef + +$(eval $(call KernelPackage,ps3vram)) + + +define KernelPackage/sound-ps3 + SUBMENU:=$(SOUND_MENU) + TITLE:=PS3 Audio + DEPENDS:=@TARGET_ps3 + KCONFIG:=CONFIG_SND_PS3 \ + CONFIG_SND_PPC=y \ + CONFIG_SND_PS3_DEFAULT_START_DELAY=2000 + FILES:=$(LINUX_DIR)/sound/ppc/snd_ps3.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,35, snd_ps3) + $(call AddDepends/sound) +endef + +define KernelPackage/sound-ps3/description + support for the integrated PS3 audio device +endef + +$(eval $(call KernelPackage,sound-ps3)) diff --git a/target/linux/pxcab/modules.mk b/target/linux/pxcab/modules.mk new file mode 100644 index 0000000000..742cbd2011 --- /dev/null +++ b/target/linux/pxcab/modules.mk @@ -0,0 +1,21 @@ +# +# Copyright (C) 2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define KernelPackage/axonram + SUBMENU:=$(BLOCK_MENU) + TITLE:=Axon DDR2 memory device driver + DEPENDS:=@TARGET_pxcab + KCONFIG:=CONFIG_AXON_RAM + FILES:=$(LINUX_DIR)/arch/powerpc/sysdev/axonram.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,01,axonram) +endef + +define KernelPackage/axonram/description + Kernel support for Axon DDR2 memory device +endef + +$(eval $(call KernelPackage,axonram)) diff --git a/target/linux/rb532/modules.mk b/target/linux/rb532/modules.mk new file mode 100644 index 0000000000..c7ba62f5cd --- /dev/null +++ b/target/linux/rb532/modules.mk @@ -0,0 +1,45 @@ +# +# Copyright (C) 2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define KernelPackage/ata-rb532-cf + SUBMENU:=$(BLOCK_MENU) + TITLE:=RB532 Compact Flash support + DEPENDS:=@TARGET_rb532 @BROKEN + KCONFIG:= \ + CONFIG_PATA_PLATFORM \ + CONFIG_PATA_RB532 + FILES:=\ + $(LINUX_DIR)/drivers/ata/pata_platform.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/drivers/ata/pata_rb532_cf.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,41,pata_platform pata_rb532_cf,1) + $(call AddDepends/ata) +endef + +define KernelPackage/ata-rb532-cf/description + RB532 Compact Flash support. +endef + +$(eval $(call KernelPackage,ata-rb532-cf)) + + +define KernelPackage/input-rb532 + SUBMENU:=$(OTHER_MENU) + TITLE:=RB532 button device support + DEPENDS:=@TARGET_rb532 + KCONFIG:= \ + CONFIG_INPUT_MISC=y \ + CONFIG_INPUT_RB532_BUTTON + FILES:=$(LINUX_DIR)/drivers/input/misc/rb532_button.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,62,rb532_button) + $(call AddDepends/input) +endef + +define KernelPackage/input-rb532/description + Kernel module for RB532 button +endef + +$(eval $(call KernelPackage,input-rb532)) diff --git a/target/linux/rdc/modules.mk b/target/linux/rdc/modules.mk index e69de29bb2..bb4c0cbe4e 100644 --- a/target/linux/rdc/modules.mk +++ b/target/linux/rdc/modules.mk @@ -0,0 +1,22 @@ +# +# Copyright (C) 2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define KernelPackage/rdc321x-wdt + SUBMENU:=$(OTHER_MENU) + TITLE:=RDC321x watchdog + DEPENDS:=@TARGET_rdc + KCONFIG:=CONFIG_RDC321X_WDT + FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/rdc321x_wdt.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50,rdc321x_wdt) +endef + +define KernelPackage/rdc321x-wdt/description + RDC-321x watchdog driver +endef + +$(eval $(call KernelPackage,rdc321x-wdt)) + |