[Galaxy S6 Q&A, Help & Troubleshooting] ItzTazzy:
OK, i got all thing together, but now i have a new problem

spongebob@spongebob-VirtualBox:~/android/system$ source build/envsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/bash_completion/git.bash
including vendor/cm/bash_completion/repo.bash
spongebob@spongebob-VirtualBox:~/android/system$ brunch zerofltexx
including vendor/cm/vendorsetup.sh
Looking for dependencies

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.0
CM_VERSION=14.0-20161220-UNOFFICIAL-zerofltexx
TARGET_PRODUCT=cm_zerofltexx
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-31-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NBD90Z
OUT_DIR=/home/spongebob/android/system/out
============================================
make: Verzeichnis „/home/spongebob/android/system“ wird betreten
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.0
CM_VERSION=14.0-20161220-UNOFFICIAL-zerofltexx
TARGET_PRODUCT=cm_zerofltexx
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-31-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NBD90Z
OUT_DIR=/home/spongebob/android/system/out
============================================
Running kati to generate build-cm_zerofltexx.ninja...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.0
CM_VERSION=14.0-20161220-UNOFFICIAL-zerofltexx
TARGET_PRODUCT=cm_zerofltexx
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-31-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NBD90Z
OUT_DIR=/home/spongebob/android/system/out
============================================
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
build/core/binary.mk:1236: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1236: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1236: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
build/core/binary.mk:1236: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
./external/speex/Android.mk:56: TODOArm64: enable neon in libspeex
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: "/home/spongebob/android/system/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates": Datei oder Verzeichnis nicht gefunden
No private recovery resources for TARGET_DEVICE zerofltexx
vendor/cm/build/tasks/kernel.mk:160: ***************************************************************
vendor/cm/build/tasks/kernel.mk:161: * Using prebuilt kernel binary instead of source *
vendor/cm/build/tasks/kernel.mk:162: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
vendor/cm/build/tasks/kernel.mk:163: * Please configure your device to download the kernel *
vendor/cm/build/tasks/kernel.mk:164: * source repository to kernel/samsung/exynos7420
vendor/cm/build/tasks/kernel.mk:165: * See http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building
vendor/cm/build/tasks/kernel.mk:166: * for more information *
vendor/cm/build/tasks/kernel.mk:167: ***************************************************************
build/core/binary.mk:703: warning: overriding commands for target `/home/spongebob/android/system/out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.cc'
build/core/binary.mk:703: warning: ignoring old commands for target `/home/spongebob/android/system/out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.cc'
build/core/binary.mk:708: warning: overriding commands for target `/home/spongebob/android/system/out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.h'
build/core/binary.mk:708: warning: ignoring old commands for target `/home/spongebob/android/system/out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.h'
build/core/base_rules.mk:316: warning: overriding commands for target `/home/spongebob/android/system/out/target/product/zerofltexx/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/spongebob/android/system/out/target/product/zerofltexx/root/res/images/charger/battery_fail.png'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/spongebob/android/system/out/target/product/zerofltexx/kernel', needed by '/home/spongebob/android/system/out/target/product/zerofltexx/boot.img', missing and no known rule to make it
build/core/ninja.mk:151: die Regel für Ziel „ninja_wrapper“ scheiterte
make: *** [ninja_wrapper] Fehler 1
make: Verzeichnis „/home/spongebob/android/system“ wird verlassen

#### make failed to build some targets (21:13 (mm:ss)) ####

spongebob@spongebob-VirtualBox:~/android/system$

i think my laptop trolls like a boss.