Skip to content
Snippets Groups Projects
Commit 01c04c22 authored by blogic's avatar blogic
Browse files

kernel/modules: snd-pcm-dmaengine only if CONFIG_SND_DMAENGINE_PCM is set

Platforms without in-soc audio don't provide CONFIG_SND_DMAENGINE_PCM, thus
the module is not generated.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38913 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 54b20227
No related branches found
No related tags found
No related merge requests found
......@@ -42,10 +42,10 @@ endif
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.12.0)),1)
SOUNDCORE_LOAD += \
snd-pcm-dmaengine
$(if $(CONFIG_SND_DMAENGINE_PCM),snd-pcm-dmaengine)
SOUNDCORE_FILES += \
$(LINUX_DIR)/sound/core/snd-pcm-dmaengine.ko
$(if $(CONFIG_SND_DMAENGINE_PCM),$(LINUX_DIR)/sound/core/snd-pcm-dmaengine.ko)
endif
define KernelPackage/sound-core
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment