SM-T505 Kernel Developement

SM-T505
Samsung Galaxy Tab A7 10.4
I need toolchain and commands to compile the kernel I’m using ubuntu Linux
Also give which clang version and gcc version to use as of the tutorial present in opensource.zip I’m getting to many errors