kernel: fix kmod-sound-core for 3.14

pcm-page-alloc was merged into snd-pcm.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 40377
This commit is contained in:
Jonas Gorski 2014-04-04 10:16:50 +00:00
parent a8363fadcd
commit 52388da14a

View file

@ -11,7 +11,6 @@ SOUND_MENU:=Sound Support
SOUNDCORE_LOAD ?= \ SOUNDCORE_LOAD ?= \
soundcore \ soundcore \
snd \ snd \
snd-page-alloc \
snd-hwdep \ snd-hwdep \
snd-seq-device \ snd-seq-device \
snd-rawmidi \ snd-rawmidi \
@ -23,7 +22,6 @@ SOUNDCORE_LOAD ?= \
SOUNDCORE_FILES ?= \ SOUNDCORE_FILES ?= \
$(LINUX_DIR)/sound/soundcore.ko \ $(LINUX_DIR)/sound/soundcore.ko \
$(LINUX_DIR)/sound/core/snd.ko \ $(LINUX_DIR)/sound/core/snd.ko \
$(LINUX_DIR)/sound/core/snd-page-alloc.ko \
$(LINUX_DIR)/sound/core/snd-hwdep.ko \ $(LINUX_DIR)/sound/core/snd-hwdep.ko \
$(LINUX_DIR)/sound/core/seq/snd-seq-device.ko \ $(LINUX_DIR)/sound/core/seq/snd-seq-device.ko \
$(LINUX_DIR)/sound/core/snd-rawmidi.ko \ $(LINUX_DIR)/sound/core/snd-rawmidi.ko \
@ -48,6 +46,14 @@ SOUNDCORE_FILES += \
$(if $(CONFIG_SND_DMAENGINE_PCM),$(LINUX_DIR)/sound/core/snd-pcm-dmaengine.ko) $(if $(CONFIG_SND_DMAENGINE_PCM),$(LINUX_DIR)/sound/core/snd-pcm-dmaengine.ko)
endif endif
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),lt,3.14.0)),1)
SOUNDCORE_LOAD += \
snd-page-alloc
SOUNDCORE_FILES += \
$(LINUX_DIR)/sound/core/snd-page-alloc.ko
endif
define KernelPackage/sound-core define KernelPackage/sound-core
SUBMENU:=$(SOUND_MENU) SUBMENU:=$(SOUND_MENU)
TITLE:=Sound support TITLE:=Sound support