How to build snd-aloop module

I have been trying to figure out how to build the snd-aloop kernel module for the Xavier, but I have not succeed so far. I have been following the instructions and scripts below:

tar -xjf public_sources.tbz2
cd public_sources/
tar -xjf kernel_src.tbz2
cd kernel/kernel-4.9
zcat /proc/config.gz > .config
make xconfig

Check the snd-aloop option

cd sound
make ARCH=arm64 -C <kernel_directory> M=$(pwd)

This seems to build the modules, however I do not see the snd-aloop module being built.

I would greatly appreciate any suggestion.


You may need to add CONFIG_SND_ALOOP=m to the …/kernel/kernel-4.9/arch/arm64/configs/tegra_defconfig and rebuild it.

Hi ShaneCCC,

Thank you for the suggestion. I was able to build the the whole kernel and module using your suggestion, and flash the board. I was not able to just build the module and install it. I am sure there is a shorter way that I am not familiar with on how to build just the module and install it.