kernel/modules: set CONFIG_UML_SOUND for UML if kmod-sound-core is selected
This was changed in upstream linux kernel with: |commit db4bfcba7bb8 um: Fix hostaudio build errors |Author: Randy Dunlap <rdunlap@infradead.org> |Date: Tue Aug 1 22:15:00 2023 -0700 | | um: Fix hostaudio build errors | | Use "select" to ensure that the required kconfig symbols are set | as expected. | Drop HOSTAUDIO since it is now equivalent to UML_SOUND. | | Set CONFIG_SOUND=m in ARCH=um defconfig files to maintain the | status quo of the default configs. | | Allow SOUND with UML regardless of HAS_IOMEM. Otherwise there is a | kconfig warning for unmet dependencies. (This was not an issue when | SOUND was defined in arch/um/drivers/Kconfig. I have done 50 randconfig | builds and didn't find any issues.) | [...] The reason why this was not spotted is because of IOMEM. We would need to have a device that requires IOMEM first and the obvious choice would be VFIO_PCI. But none of the pci features are set for the UML target. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
This commit is contained in:
parent
f59200bc56
commit
0e9b52f757
1 changed files with 1 additions and 0 deletions
|
|
@ -64,6 +64,7 @@ define KernelPackage/sound-core
|
|||
endef
|
||||
|
||||
define KernelPackage/sound-core/uml
|
||||
KCONFIG:=CONFIG_UML_SOUND
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/sound/soundcore.ko \
|
||||
$(LINUX_DIR)/arch/um/drivers/hostaudio.ko
|
||||
|
|
|
|||
Loading…
Reference in a new issue