BeagleBone-AI: kernel customiaztion

Hello,
I want to change a codec “KERNEL/sound/soc/codecs/pcm5102a.c” and some other files in the kernel(4.2.1 this document ). But when I do it manually, then when I rebuild the Kernel it undoes my changes so in the menuconfig, I can’t select the driver I want. How can I do this?

Thanks in advance

Hi @MikeQya, after making any changes under the ./KERNEL/ directory, just run:

./tools/rebuild.sh

Regards,