Hi Matai-san,
Not a completely simple question, indeed. The rootfs arch is defined by
DISTRO_ARCH. But that one also influences the arch that the custom
kernel will select. You could try a multiconfig build, setting
DISTRO_ARCH to arm64 only for the kernel part and then requesting the
arm64 kernel from your armhf rootfs. Or you try to set KERNEL_ARCH
explicitly in the custom kernel recipe, switching it from "arm" (as
armhf would defined it) to "arm64". The former may give more correct
results, though, because the kernel recipe will still use DISTRO_ARCH
with "armhf" for a arm64 kernel.
Jan