diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-04-24 13:34:51 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-04-24 13:34:51 +0000 |
commit | 7c27f09e8de114b578fc9dc529d40689869e270b (patch) | |
tree | d6411eb2068038b1c0b39c047f3ffa41486f9132 /package | |
parent | 1bbd9aff13faf05ca01482fa999c64c715ed7266 (diff) |
package/kernel: move target specific modules to their own target files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21132 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/modules/block.mk | 105 | ||||
-rw-r--r-- | package/kernel/modules/other.mk | 128 | ||||
-rw-r--r-- | package/kernel/modules/sound.mk | 17 | ||||
-rw-r--r-- | package/kernel/modules/spi.mk | 17 | ||||
-rw-r--r-- | package/kernel/modules/usb.mk | 44 |
5 files changed, 3 insertions, 308 deletions
diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk index 85a440aa5..53c8ab3e9 100644 --- a/package/kernel/modules/block.mk +++ b/package/kernel/modules/block.mk @@ -83,52 +83,6 @@ endef $(eval $(call KernelPackage,ata-artop)) -define KernelPackage/ata-octeon-cf -$(call AddDepends/ata,@TARGET_octeon) - TITLE:=Octeon Compact Flash support - KCONFIG:=CONFIG_PATA_OCTEON_CF - FILES:=$(LINUX_DIR)/drivers/ata/pata_octeon_cf.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,41,pata_octeon_cf,1) -endef - -define KernelPackage/ata-octeon-cf/description - Octeon Compact Flash support. -endef - -$(eval $(call KernelPackage,ata-octeon-cf)) - - -define KernelPackage/ata-ixp4xx-cf -$(call AddDepends/ata,@TARGET_ixp4xx) - TITLE:=IXP4XX Compact Flash support - KCONFIG:=CONFIG_PATA_IXP4XX_CF - FILES:=$(LINUX_DIR)/drivers/ata/pata_ixp4xx_cf.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,41,pata_ixp4xx_cf,1) -endef - -define KernelPackage/ata-ixp4xx-cf/description - IXP4XX Compact Flash support. -endef - -$(eval $(call KernelPackage,ata-ixp4xx-cf)) - -define KernelPackage/ata-rb532-cf -$(call AddDepends/ata,@TARGET_rb532 @BROKEN) - TITLE:=RB532 Compact Flash support - 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) -endef - -define KernelPackage/ata-rb532-cf/description - RB532 Compact Flash support. -endef - -$(eval $(call KernelPackage,ata-rb532-cf)) define KernelPackage/ata-nvidia-sata $(call AddDepends/ata,) @@ -141,21 +95,6 @@ endef $(eval $(call KernelPackage,ata-nvidia-sata)) -define KernelPackage/ata-magicbox-cf -$(call AddDepends/ata,@TARGET_ppc40x) - TITLE:=Magicbox v2/OpenRB Compact flash support - KCONFIG:=CONFIG_PATA_MAGICBOX_CF - FILES:=$(LINUX_DIR)/drivers/ata/pata_magicbox_cf.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,41,pata_magicbox_cf,1) -endef - -define KernelPackage/ata-magicbox-cf/description - Support for Magicbox v2/OpenRB on-board CF slot. -endef - -$(eval $(call KernelPackage,ata-magicbox-cf)) - - define KernelPackage/ata-pdc202xx-old SUBMENU:=$(BLOCK_MENU) TITLE:=Older Promise PATA controller support @@ -439,21 +378,6 @@ endef $(eval $(call KernelPackage,dm)) -define KernelPackage/pata-rb153-cf -$(call AddDepends/ata,@TARGET_adm5120_router_le) - TITLE:=RouterBOARD 153 CF Slot support - KCONFIG:=CONFIG_PATA_RB153_CF - FILES:=$(LINUX_DIR)/drivers/ata/pata_rb153_cf.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,30,pata_rb153_cf,1) -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/aoe SUBMENU:=$(BLOCK_MENU) TITLE:=ATA over Ethernet support @@ -468,35 +392,6 @@ endef $(eval $(call KernelPackage,aoe)) -define KernelPackage/ps3vram - SUBMENU:=$(BLOCK_MENU) - TITLE:=PS3 Video RAM Storage Driver - DEPENDS:=@TARGET_ps3||TARGET_ps3chk - 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/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)) define KernelPackage/libsas SUBMENU:=$(BLOCK_MENU) diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index fbaf7638d..177318d48 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2009 OpenWrt.org +# Copyright (C) 2006-2010 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -182,31 +182,6 @@ endef $(eval $(call KernelPackage,pcmcia-yenta)) -define KernelPackage/pcmcia-au1000 - SUBMENU:=$(OTHER_MENU) - TITLE:=RMI/AMD Au1000 PCMCIA support - DEPENDS:=kmod-pcmcia-core @TARGET_au1000 - FILES:=$(LINUX_DIR)/drivers/pcmcia/au1x00_ss.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,41,au1x00_ss) -endef - -$(eval $(call KernelPackage,pcmcia-au1000)) - -define KernelPackage/pcmcia-bcm63xx - SUBMENU:=$(OTHER_MENU) - TITLE:=Broadcom BCM63xx PCMCIA support - DEPENDS:=kmod-pcmcia-core @TARGET_brcm63xx - 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)) - define KernelPackage/pcmcia-serial SUBMENU:=$(OTHER_MENU) TITLE:=Serial devices support @@ -361,43 +336,12 @@ endef $(eval $(call KernelPackage,mmc)) -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)) - - # XXX: added a workaround for watchdog path changes ifeq ($(KERNEL),2.4) WATCHDOG_DIR=char endif WATCHDOG_DIR?=watchdog -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)) - define KernelPackage/softdog SUBMENU:=$(OTHER_MENU) @@ -413,21 +357,6 @@ endef $(eval $(call KernelPackage,softdog)) -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)) - define KernelPackage/leds-gpio SUBMENU:=$(OTHER_MENU) @@ -445,23 +374,6 @@ endef $(eval $(call KernelPackage,leds-gpio)) -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/leds-net48xx SUBMENU:=$(OTHER_MENU) TITLE:=Soekris Net48xx LED support @@ -513,7 +425,7 @@ $(eval $(call KernelPackage,leds-alix)) define KernelPackage/leds-wndr3700-usb SUBMENU:=$(OTHER_MENU) TITLE:=WNDR3700 USB LED support - DEPENDS:= @TARGET_ar71xx + DEPENDS:=@TARGET_ar71xx KCONFIG:=CONFIG_LEDS_WNDR3700_USB FILES:=$(LINUX_DIR)/drivers/leds/leds-wndr3700-usb.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,60,leds-wndr3700-usb) @@ -770,24 +682,6 @@ endef $(eval $(call KernelPackage,input-joydev)) -define KernelPackage/input-rb532 - SUBMENU:=$(OTHER_MENU) - TITLE:=RB532 button device support - DEPENDS:=+kmod-input-core @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) -endef - -define KernelPackage/input-rb532/description - Kernel module for RB532 button -endef - -$(eval $(call KernelPackage,input-rb532)) - - define KernelPackage/mmc-atmelmci SUBMENU:=$(OTHER_MENU) TITLE:=Amtel MMC Support @@ -820,24 +714,6 @@ endef $(eval $(call KernelPackage,cs5535-gpio)) -define KernelPackage/ixp4xx-beeper - SUBMENU:=$(OTHER_MENU) - TITLE:=IXP4XX Beeper support - DEPENDS:=@TARGET_ixp4xx +kmod-input-core - 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) -endef - -define KernelPackage/ixp4xx-beeper/description - IXP4XX Beeper support -endef - -$(eval $(call KernelPackage,ixp4xx-beeper)) - - define KernelPackage/textsearch SUBMENU:=$(OTHER_MENU) TITLE:=Textsearch support is selected if needed diff --git a/package/kernel/modules/sound.mk b/package/kernel/modules/sound.mk index f2900f131..3d2bd27b5 100644 --- a/package/kernel/modules/sound.mk +++ b/package/kernel/modules/sound.mk @@ -101,23 +101,6 @@ endef $(eval $(call KernelPackage,sound-i8x0)) -define KernelPackage/sound-ps3 -$(call AddDepends/sound,@TARGET_ps3||TARGET_ps3chk) - TITLE:=PS3 Audio - 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) -endef - -define KernelPackage/sound-ps3/description - support for the integrated PS3 audio device -endef - -$(eval $(call KernelPackage,sound-ps3)) - - define KernelPackage/sound-cs5535audio $(call AddDepends/sound,@!TARGET_uml) TITLE:=CS5535 PCI Controller diff --git a/package/kernel/modules/spi.mk b/package/kernel/modules/spi.mk index ed1ab010d..94c98548e 100644 --- a/package/kernel/modules/spi.mk +++ b/package/kernel/modules/spi.mk @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2009 OpenWrt.org +# Copyright (C) 2006-2010 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -90,21 +90,6 @@ endef $(eval $(call KernelPackage,spi-dev)) -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/spi-vsc7385 SUBMENU:=$(SPI_MENU) diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index c9dc830de..9a2b046de 100644 --- a/package/kernel/modules/usb.mk +++ b/package/kernel/modules/usb.mk @@ -114,50 +114,6 @@ endef $(eval $(call KernelPackage,usb-ohci,1)) -define KernelPackage/usb-adm5120 -$(call AddDepends/usb,@TARGET_adm5120_router_be||@TARGET_adm5120_router_le) - TITLE:=Support for the ADM5120 HCD controller - KCONFIG:=CONFIG_USB_ADM5120_HCD - FILES:=$(LINUX_DIR)/drivers/usb/host/adm5120-hcd.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,50,adm5120-hcd,1) -endef - -define KernelPackage/usb-adm5120/description - Kernel support for the ADM5120 HCD USB controller -endef - -$(eval $(call KernelPackage,usb-adm5120)) - -define KernelPackage/usb-etrax -$(call AddDepends/usb,@TARGET_etrax) - TITLE:=Support for the ETRAX USB host controller - 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) -endef - -define KernelPackage/usb-etrax/description - Kernel support for the ETRAX USB host controller -endef - -$(eval $(call KernelPackage,usb-etrax)) - -define KernelPackage/usb-octeon -$(call AddDepends/usb,@TARGET_octeon) - TITLE:=Support for the Octeon USB OTG controller - KCONFIG:=CONFIG_USB_DWC_OTG - FILES:=$(LINUX_DIR)/drivers/usb/host/dwc_otg/dwc_otg.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,50,dwc_otg) -endef - -define KernelPackage/usb-octeon/description - Kernel support for the Octeon USB host controller -endef - -$(eval $(call KernelPackage,usb-octeon)) - - define KernelPackage/usb-isp116x-hcd $(call AddDepends/usb,@TARGET_ppc40x) TITLE:=Support for the ISP116x USB Host Controller |