[kirkwood] Cleanup image generation
[openwrt.git] / target / linux / ixp4xx / 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/ata-ixp4xx-cf
9   SUBMENU:=$(BLOCK_MENU)
10   TITLE:=IXP4XX Compact Flash support
11   DEPENDS:=@TARGET_ixp4xx
12   KCONFIG:=CONFIG_PATA_IXP4XX_CF
13   FILES:=$(LINUX_DIR)/drivers/ata/pata_ixp4xx_cf.ko
14   AUTOLOAD:=$(call AutoLoad,41,pata_ixp4xx_cf,1)
15   $(call AddDepends/ata)
16 endef
17
18 define KernelPackage/ata-ixp4xx-cf/description
19  IXP4XX Compact Flash support.
20 endef
21
22 $(eval $(call KernelPackage,ata-ixp4xx-cf))
23
24
25 define KernelPackage/ixp4xx-beeper
26   SUBMENU:=$(OTHER_MENU)
27   TITLE:=IXP4XX Beeper support
28   DEPENDS:=@TARGET_ixp4xx
29   KCONFIG:= \
30         CONFIG_INPUT_MISC=y \
31         CONFIG_INPUT_IXP4XX_BEEPER
32   FILES:=$(LINUX_DIR)/drivers/input/misc/ixp4xx-beeper.ko
33   AUTOLOAD:=$(call AutoLoad,50,ixp4xx-beeper)
34   $(call AddDepends/input)
35 endef
36
37 define KernelPackage/ixp4xx-beeper/description
38  IXP4XX Beeper support
39 endef
40
41 $(eval $(call KernelPackage,ixp4xx-beeper))