diff options
author | Jonas Gorski <jogo@openwrt.org> | 2014-04-04 10:16:50 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2014-04-04 10:16:50 +0000 |
commit | 42078486eeef6c2f34d7c1ea0617f4362b8a0ad8 (patch) | |
tree | e2e3fd329636114bc08bf89894247cd24a0c9d59 /package/kernel/linux | |
parent | 212f693446bbd93a5860b610b623ccfc7d813ce2 (diff) | |
download | master-187ad058-42078486eeef6c2f34d7c1ea0617f4362b8a0ad8.tar.gz master-187ad058-42078486eeef6c2f34d7c1ea0617f4362b8a0ad8.tar.bz2 master-187ad058-42078486eeef6c2f34d7c1ea0617f4362b8a0ad8.zip |
kernel: fix kmod-sound-core for 3.14
pcm-page-alloc was merged into snd-pcm.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40377 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/linux')
-rw-r--r-- | package/kernel/linux/modules/sound.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk index ebdd3d9fe3..be01638174 100644 --- a/package/kernel/linux/modules/sound.mk +++ b/package/kernel/linux/modules/sound.mk @@ -11,7 +11,6 @@ SOUND_MENU:=Sound Support SOUNDCORE_LOAD ?= \ soundcore \ snd \ - snd-page-alloc \ snd-hwdep \ snd-seq-device \ snd-rawmidi \ @@ -23,7 +22,6 @@ SOUNDCORE_LOAD ?= \ SOUNDCORE_FILES ?= \ $(LINUX_DIR)/sound/soundcore.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/seq/snd-seq-device.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) 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 SUBMENU:=$(SOUND_MENU) TITLE:=Sound support |