2011-08-11 11:18:44 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2011 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
2012-07-24 19:43:35 +00:00
|
|
|
define KernelPackage/fb-ep93xx
|
|
|
|
SUBMENU:=$(VIDEO_MENU)
|
|
|
|
TITLE:=EP93xx framebuffer support
|
2012-07-25 14:01:54 +00:00
|
|
|
DEPENDS:=@TARGET_ep93xx +kmod-fb +kmod-fb-cfb-fillrect \
|
|
|
|
+kmod-fb-cfb-copyarea +kmod-fb-cfb-imgblt
|
2012-07-24 19:43:35 +00:00
|
|
|
KCONFIG:=CONFIG_FB_EP93XX
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/video/ep93xx-fb.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,51,ep93xx-fb)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/fb-ep93xx/description
|
|
|
|
EP93xx framebuffer support
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,fb-ep93xx))
|
|
|
|
|
2011-08-11 11:18:44 +00:00
|
|
|
define KernelPackage/input-keyboard-ep93xx
|
|
|
|
SUBMENU:=$(OTHER_MENU)
|
|
|
|
TITLE:=EP93xx Matrix Keypad support
|
2013-10-01 22:39:28 +00:00
|
|
|
DEPENDS:=@TARGET_ep93xx +!LINUX_3_3:kmod-input-matrixkmap
|
2011-08-11 11:18:44 +00:00
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_KEYBOARD_EP93XX \
|
|
|
|
CONFIG_INPUT_KEYBOARD=y
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/input/keyboard/ep93xx_keypad.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,62,ep93xx_keypad)
|
|
|
|
$(call AddDepends/input)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/input-keyboard-ep93xx/description
|
|
|
|
EP93xx Matrix Keypad support
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,input-keyboard-ep93xx))
|
|
|
|
|
2013-03-17 19:45:55 +00:00
|
|
|
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.8.0)),1)
|
|
|
|
SND_EP93XX_SOC_DIR:=cirrus
|
|
|
|
else
|
|
|
|
SND_EP93XX_SOC_DIR:=ep93xx
|
|
|
|
endif
|
2011-08-11 11:18:44 +00:00
|
|
|
|
|
|
|
define KernelPackage/sound-soc-ep93xx
|
|
|
|
SUBMENU:=$(SOUND_MENU)
|
|
|
|
TITLE:=EP93xx SoC sound support
|
2013-10-01 22:38:40 +00:00
|
|
|
DEPENDS:=@TARGET_ep93xx +kmod-sound-core +kmod-sound-soc-core
|
2011-08-11 11:18:44 +00:00
|
|
|
KCONFIG:=CONFIG_SND_EP93XX_SOC
|
2013-03-17 19:45:55 +00:00
|
|
|
FILES:=$(LINUX_DIR)/sound/soc/$(SND_EP93XX_SOC_DIR)/snd-soc-ep93xx.ko
|
2012-07-24 19:43:15 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,57,snd-soc-ep93xx)
|
2011-08-11 11:18:44 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/sound-soc-ep93xx/description
|
|
|
|
EP93xx SoC sound support
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,sound-soc-ep93xx))
|
|
|
|
|
2012-07-24 19:43:15 +00:00
|
|
|
# Must be loaded prior to sound-soc-ac97 because it exports
|
|
|
|
# soc_ac97_ops
|
2011-08-11 11:18:44 +00:00
|
|
|
define KernelPackage/sound-soc-ep93xx-ac97
|
|
|
|
SUBMENU:=$(SOUND_MENU)
|
|
|
|
TITLE:=EP93xx SoC AC97 support
|
2013-10-01 22:38:40 +00:00
|
|
|
DEPENDS:=@TARGET_ep93xx +kmod-sound-soc-core
|
2011-08-11 11:18:44 +00:00
|
|
|
KCONFIG:=CONFIG_SND_EP93XX_SOC_AC97
|
2013-03-17 19:45:55 +00:00
|
|
|
FILES:=$(LINUX_DIR)/sound/soc/$(SND_EP93XX_SOC_DIR)/snd-soc-ep93xx-ac97.ko
|
2012-07-24 19:43:15 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,56,snd-soc-ep93xx-ac97)
|
2011-08-11 11:18:44 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/sound-soc-ep93xx-ac97/description
|
|
|
|
EP93xx SoC AC97 support
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,sound-soc-ep93xx-ac97))
|
|
|
|
|
|
|
|
define KernelPackage/sound-soc-ep93xx-simone
|
|
|
|
SUBMENU:=$(SOUND_MENU)
|
|
|
|
TITLE:=Sim.One EP93xx Soc sound support
|
2013-10-01 22:38:40 +00:00
|
|
|
DEPENDS:=@TARGET_ep93xx +kmod-sound-soc-core
|
2011-08-11 11:18:44 +00:00
|
|
|
KCONFIG:=CONFIG_SND_EP93XX_SOC_SIMONE
|
2013-03-17 19:45:55 +00:00
|
|
|
FILES:=$(LINUX_DIR)/sound/soc/$(SND_EP93XX_SOC_DIR)/snd-soc-simone.ko
|
2012-07-24 19:43:15 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,59,snd-soc-ep93xx)
|
2011-08-11 11:18:44 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/sound-soc-ep93xx-simone/description
|
|
|
|
SimpleMachines Sim.One sound support
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,sound-soc-ep93xx-simone))
|
2012-07-24 19:42:49 +00:00
|
|
|
|
|
|
|
define KernelPackage/touchscreen-ep93xx
|
|
|
|
SUBMENU:=$(OTHER_MENU)
|
|
|
|
TITLE:=EP93xx input touchscreen support
|
2012-07-26 17:03:02 +00:00
|
|
|
DEPENDS:=@TARGET_ep93xx
|
2012-07-24 19:42:49 +00:00
|
|
|
KCONFIG:=CONFIG_TOUCHSCREEN_EP93XX
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/input/touchscreen/ep93xx_ts.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,51,ep93xx_ts)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/touchscreen-ep93xx/description
|
|
|
|
EP93xx SoC input touchscreen support
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,touchscreen-ep93xx))
|
|
|
|
|