2 # Copyright (C) 2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 define KernelPackage
/ata-rb532-cf
10 TITLE
:=RB532 Compact Flash support
11 DEPENDS
:=@TARGET_rb532 @BROKEN
13 CONFIG_PATA_PLATFORM \
16 $(LINUX_DIR
)/drivers
/ata
/pata_platform.
$(LINUX_KMOD_SUFFIX
) \
17 $(LINUX_DIR
)/drivers
/ata
/pata_rb532_cf.
$(LINUX_KMOD_SUFFIX
)
18 AUTOLOAD
:=$(call AutoLoad
,41,pata_platform pata_rb532_cf
,1)
19 $(call AddDepends
/ata
)
22 define KernelPackage
/ata-rb532-cf
/description
23 RB532 Compact Flash support.
26 $(eval
$(call KernelPackage
,ata-rb532-cf
))
29 define KernelPackage
/input-rb532
30 SUBMENU
:=$(OTHER_MENU
)
31 TITLE
:=RB532 button device support
32 DEPENDS
:=@TARGET_rb532
35 CONFIG_INPUT_RB532_BUTTON
36 FILES
:=$(LINUX_DIR
)/drivers
/input
/misc
/rb532_button.
$(LINUX_KMOD_SUFFIX
)
37 AUTOLOAD
:=$(call AutoLoad
,62,rb532_button
)
38 $(call AddDepends
/input
)
41 define KernelPackage
/input-rb532
/description
42 Kernel module for RB532 button
45 $(eval
$(call KernelPackage
,input-rb532
))