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 8define KernelPackage/ata-rb532-cf 9 SUBMENU:=$(BLOCK_MENU) 10 TITLE:=RB532 Compact Flash support 11 DEPENDS:=@TARGET_rb532 @BROKEN 12 KCONFIG:= \ 13 CONFIG_PATA_PLATFORM \ 14 CONFIG_PATA_RB532 15 FILES:=\ 16 $(LINUX_DIR)/drivers/ata/pata_platform.ko \ 17 $(LINUX_DIR)/drivers/ata/pata_rb532_cf.ko 18 AUTOLOAD:=$(call AutoLoad,41,pata_platform pata_rb532_cf,1) 19 $(call AddDepends/ata) 20endef 21 22define KernelPackage/ata-rb532-cf/description 23 RB532 Compact Flash support. 24endef 25 26$(eval $(call KernelPackage,ata-rb532-cf)) 27 28 29define KernelPackage/input-rb532 30 SUBMENU:=$(OTHER_MENU) 31 TITLE:=RB532 button device support 32 DEPENDS:=@TARGET_rb532 +kmod-input-polldev 33 KCONFIG:= \ 34 CONFIG_INPUT_MISC=y \ 35 CONFIG_INPUT_RB532_BUTTON 36 FILES:=$(LINUX_DIR)/drivers/input/misc/rb532_button.ko 37 AUTOLOAD:=$(call AutoLoad,62,rb532_button) 38 $(call AddDepends/input) 39endef 40 41define KernelPackage/input-rb532/description 42 Kernel module for RB532 button 43endef 44 45$(eval $(call KernelPackage,input-rb532)) 46