mirror of https://github.com/hak5/openwrt.git
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. SVN-Revision: 38913lede-17.01
parent
8a35c5936f
commit
48de8ed52a
|
@ -42,10 +42,10 @@ endif
|
||||||
|
|
||||||
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.12.0)),1)
|
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.12.0)),1)
|
||||||
SOUNDCORE_LOAD += \
|
SOUNDCORE_LOAD += \
|
||||||
snd-pcm-dmaengine
|
$(if $(CONFIG_SND_DMAENGINE_PCM),snd-pcm-dmaengine)
|
||||||
|
|
||||||
SOUNDCORE_FILES += \
|
SOUNDCORE_FILES += \
|
||||||
$(LINUX_DIR)/sound/core/snd-pcm-dmaengine.ko
|
$(if $(CONFIG_SND_DMAENGINE_PCM),$(LINUX_DIR)/sound/core/snd-pcm-dmaengine.ko)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define KernelPackage/sound-core
|
define KernelPackage/sound-core
|
||||||
|
|
Loading…
Reference in New Issue