I used the source tarball kernel_src.tbs2 to create customized kernel. Actually I can build the dtbs, Image and modules. However, if I wanted to build the debian packages the similar way as I built these artifacts :
$ make -j 10 -C kernel/kernel-5.10 O=…/kernel_out deb-pkg
I ended up a error below :
ERROR:
Building source tarball is not possible outside the
kernel source tree. Don’t set KBUILD_OUTPUT, or use the
binrpm-pkg or bindeb-pkg target instead.