On 21. 07. 23, 19:18, Masahiro Yamada wrote:
The single build rule does not work with the core-y syntax. [1]
Use the standard obj-y syntax.
[1]:
https://lore.kernel.org/linux-kbuild/d57ba55f-20a3-b836-783d-b49c8a161...@kernel.org/T/#m7bc402e1e038f00ebcf2e92ed7fcb8a52fc1ea44
Signed-off-by: Mas
Use "select"s to ensure that the required kconfig symbols are set
as expected.
This fixes build errors when CONFIG_SOUND is not set.
ld: arch/um/drivers/hostaudio_kern.o: in function `hostaudio_cleanup_module':
hostaudio_kern.c:(.exit.text+0xa): undefined reference to
`unregister_sound_mixer'
ld