There is no need to build as root, building as a regular user should be preferred.
In the source tree root folder, run:
source build/envsetup.sh lunch sdk-eng
Then, start the build:
make -j$(nproc) bacon
-jn
argument indicates the number of parallel tasks during the build (you can remove it from the command line to have only one task at a time).out/host/linux-x86/sdk/