From 0cd3169e258b6b0fcfd4bb322832bd928c2c5049 Mon Sep 17 00:00:00 2001 From: kyak Date: Sun, 27 Feb 2011 17:57:33 +0300 Subject: [PATCH] have sound modules built in kernel thanks to Lars for useful hints! --- package/kernel/modules/sound.mk | 2 +- target/linux/xburst/qi_lb60/config-2.6.32 | 18 ++++++++++++++++++ target/linux/xburst/qi_lb60/target.mk | 7 ------- 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/package/kernel/modules/sound.mk b/package/kernel/modules/sound.mk index a3d148634..af1183d87 100644 --- a/package/kernel/modules/sound.mk +++ b/package/kernel/modules/sound.mk @@ -10,7 +10,7 @@ SOUND_MENU:=Sound Support define KernelPackage/sound-core SUBMENU:=$(SOUND_MENU) TITLE:=Sound support - DEPENDS:=@AUDIO_SUPPORT +!TARGET_x86:kmod-input-core + DEPENDS:=@AUDIO_SUPPORT +!TARGET_x86:kmod-input-core @!TARGET_xburst_qi_lb60 KCONFIG:= \ CONFIG_SOUND \ CONFIG_SND \ diff --git a/target/linux/xburst/qi_lb60/config-2.6.32 b/target/linux/xburst/qi_lb60/config-2.6.32 index dec30515f..5b97b885f 100644 --- a/target/linux/xburst/qi_lb60/config-2.6.32 +++ b/target/linux/xburst/qi_lb60/config-2.6.32 @@ -37,3 +37,21 @@ CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 # CONFIG_MOUSE_SERIAL is not set # CONFIG_MOUSE_VSXXXAA is not set # CONFIG_MOUSE_GPIO is not set +CONFIG_SOUND=y +CONFIG_SND=y +CONFIG_SND_TIMER=y +CONFIG_SND_PCM=y +CONFIG_SND_HWDEP=y +CONFIG_SND_RAWMIDI=y +CONFIG_SND_SEQUENCER=y +CONFIG_SND_SEQ_DUMMY=y +CONFIG_SND_MIXER_OSS=y +CONFIG_SND_PCM_OSS=y +CONFIG_SND_RAWMIDI_SEQ=y +CONFIG_SND_SOC=y +CONFIG_SND_JZ4740_SOC=y +CONFIG_SND_JZ4740_SOC_QI_LB60=y +CONFIG_SND_JZ4740_SOC_I2S=y +CONFIG_SND_SOC_I2C_AND_SPI=y +CONFIG_SND_SOC_JZCODEC=y +# CONFIG_SND_VIRMIDI is not set diff --git a/target/linux/xburst/qi_lb60/target.mk b/target/linux/xburst/qi_lb60/target.mk index 0b2f578f4..8ae71bd9c 100644 --- a/target/linux/xburst/qi_lb60/target.mk +++ b/target/linux/xburst/qi_lb60/target.mk @@ -1,8 +1 @@ BOARDNAME:=QI Ben Nanonote (qi_lb60) -DEFAULT_PACKAGES += \ - kmod-sound-core \ - kmod-sound-soc-core \ - kmod-sound-soc-jz4740 \ - kmod-sound-soc-jzcodec \ - kmod-sound-soc-qilb60 \ -