mirror of https://github.com/hak5/openwrt.git
modules/sound: cleanup by removing unsupported Kernel cases
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 45735lede-17.01
parent
e2521a4bce
commit
fe35352d84
|
@ -32,21 +32,11 @@ SOUNDCORE_FILES ?= \
|
||||||
$(LINUX_DIR)/sound/core/oss/snd-pcm-oss.ko \
|
$(LINUX_DIR)/sound/core/oss/snd-pcm-oss.ko \
|
||||||
$(LINUX_DIR)/sound/core/snd-compress.ko
|
$(LINUX_DIR)/sound/core/snd-compress.ko
|
||||||
|
|
||||||
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.12.0)),1)
|
|
||||||
SOUNDCORE_LOAD += \
|
SOUNDCORE_LOAD += \
|
||||||
$(if $(CONFIG_SND_DMAENGINE_PCM),snd-pcm-dmaengine)
|
$(if $(CONFIG_SND_DMAENGINE_PCM),snd-pcm-dmaengine)
|
||||||
|
|
||||||
SOUNDCORE_FILES += \
|
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
|
|
||||||
|
|
||||||
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)
|
||||||
|
|
Loading…
Reference in New Issue