[Android Q&A, Help & Troubleshooting] salatiel:
Hi guys, i am trying to compile CM11 from branch to hammerhead device.

after a breakfast hammerhead, and brunch hammerhead, it always fails with:

brunch hammerhead

including vendor/cm/vendorsetup.sh

Looking for dependencies

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.4.4

CM_VERSION=11-20150806-UNOFFICIAL-hammerhead

TARGET_PRODUCT=cm_hammerhead

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=krait

HOST_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.16.0-30-generic-x86_64-with-Ubuntu-14.04-trusty

HOST_BUILD_TYPE=release

BUILD_ID=KTU84Q

OUT_DIR=/home/salatiel/android/system/out

============================================

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.4.4

CM_VERSION=11-20150806-UNOFFICIAL-hammerhead

TARGET_PRODUCT=cm_hammerhead

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=krait

HOST_ARCH=x86

HOST_OS=linux

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.16.0-30-generic-x86_64-with-Ubuntu-14.04-trusty

HOST_BUILD_TYPE=release

BUILD_ID=KTU84Q

OUT_DIR=/home/salatiel/android/system/out

============================================

/home/salatiel/android/system/out/target/product/hammerhead/obj/APPS/SignatureTest_intermediates

find: `src': No such file or directory

MAJOR_VERSION=4

MINOR_VERSION=4

build/core/Makefile:44: warning: overriding commands for target `/home/salatiel/android/system/out/target/product/hammerhead/system/vendor/etc/audio_effects.conf'

build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/salatiel/android/system/out/target/product/hammerhead/system/vendor/etc/audio_effects.conf'

find: `bootable/recovery/res-1080': No such file or directory

No private recovery resources for TARGET_DEVICE hammerhead

build/core/tasks/kernel.mk:63: ***************************************************************

build/core/tasks/kernel.mk:64: * Using prebuilt kernel binary instead of source *

build/core/tasks/kernel.mk:65: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *

build/core/tasks/kernel.mk:66: * Please configure your device to download the kernel *

build/core/tasks/kernel.mk:67: * source repository to kernel/lge/hammerhead

build/core/tasks/kernel.mk:68: * See http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building

build/core/tasks/kernel.mk:69: * for more information *

build/core/tasks/kernel.mk:70: ***************************************************************

Import includes file: /home/salatiel/android/system/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/import_includes

host C: libmincrypt <= system/core/libmincrypt/dsa_sig.c

host C: libmincrypt <= system/core/libmincrypt/p256.c

host C: libmincrypt <= system/core/libmincrypt/p256_ec.c

host C: libmincrypt <= system/core/libmincrypt/p256_ecdsa.c

host C: libmincrypt <= system/core/libmincrypt/rsa.c

host C: libmincrypt <= system/core/libmincrypt/sha.c

host C: libmincrypt <= system/core/libmincrypt/sha256.c

Import includes file: /home/salatiel/android/system/out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/import_includes

host C: libhost <= build/libs/host/CopyFile.c

make: *** No rule to make target `/home/salatiel/android/system/out/target/product/hammerhead/kernel', needed by `/home/salatiel/android/system/out/target/product/hammerhead/boot.img'. Stop.

Any ideas how i can fix this ?

Thanks!