[Nexus 4 Android Development] Vinnom:
Finally, I could compile kernel =)

But it worth as nothing =/

I tried to build frank using zImage-dtb and I got this:

(venv)[vinnom@arch_vinnom Frank]$ make otapackage -j7
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1
TARGET_PRODUCT=frank_victara
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.19.4-1-ck-x86_64-with-glibc2.2.5
HOST_BUILD_TYPE=release
BUILD_ID=LMY47I
OUT_DIR=out
============================================
find: `phone/java': Arquivo ou diretório não encontrado
find: `phone/java': Arquivo ou diretório não encontrado
find: `dummy': Arquivo ou diretório não encontrado
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
build/core/Makefile:46: warning: overriding recipe for target 'out/target/product/victara/system/bin/rild'
build/core/base_rules.mk:550: warning: ignoring old recipe for target 'out/target/product/victara/system/bin/rild'
build/core/Makefile:46: warning: overriding recipe for target 'out/target/product/victara/system/lib/libril.so'
build/core/base_rules.mk:550: warning: ignoring old recipe for target 'out/target/product/victara/system/lib/libril.so'
build/core/Makefile:46: warning: overriding recipe for target 'out/target/product/victara/system/lib/librilutils.so'
build/core/base_rules.mk:550: warning: ignoring old recipe for target 'out/target/product/victara/system/lib/librilutils.so'
build/core/Makefile:46: warning: overriding recipe for target 'out/target/product/victara/system/lib/libjni_latinime.so'
build/core/base_rules.mk:550: warning: ignoring old recipe for target 'out/target/product/victara/system/lib/libjni_latinime.so'
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/alarms/Argon.ogg:system/media/audio/alarms/Argon.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/alarms/Carbon.ogg:system/media/audio/alarms/Carbon.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/alarms/Helium.ogg:system/media/audio/alarms/Helium.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/alarms/Krypton.ogg:system/media/audio/alarms/Krypton.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/alarms/Neon.ogg:system/media/audio/alarms/Neon.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/alarms/Oxygen.ogg:system/media/audio/alarms/Oxygen.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/alarms/Osmium.ogg:system/media/audio/alarms/Osmium.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/alarms/Platinum.ogg:system/media/audio/alarms/Platinum.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/camera_click.ogg:system/media/audio/ui/camera_click.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/camera_focus.ogg:system/media/audio/ui/camera_focus.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/Dock.ogg:system/media/audio/ui/Dock.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/Effect_Tick.ogg:system/media/audio/ui/Effect_Tick.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/KeypressDelete.ogg:system/media/audio/ui/KeypressDelete.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/KeypressInvalid.ogg:system/media/audio/ui/KeypressInvalid.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/KeypressReturn.ogg:system/media/audio/ui/KeypressReturn.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/KeypressSpacebar.ogg:system/media/audio/ui/KeypressSpacebar.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/KeypressStandard.ogg:system/media/audio/ui/KeypressStandard.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/Lock.ogg:system/media/audio/ui/Lock.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/LowBattery.ogg:system/media/audio/ui/LowBattery.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/Trusted.ogg:system/media/audio/ui/Trusted.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/Undock.ogg:system/media/audio/ui/Undock.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/Unlock.ogg:system/media/audio/ui/Unlock.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/VideoRecord.ogg:system/media/audio/ui/VideoRecord.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/WirelessChargingStarted.ogg:system/media/audio/ui/WirelessChargingStarted.ogg ignored.
build/core/Makefile:46: warning: overriding recipe for target 'out/target/product/victara/system/vendor/lib/libwvdrm_L1.so'
build/core/Makefile:46: warning: ignoring old recipe for target 'out/target/product/victara/system/vendor/lib/libwvdrm_L1.so'
build/core/Makefile:46: warning: overriding recipe for target 'out/target/product/victara/system/vendor/lib/libwvm.so'
build/core/Makefile:46: warning: ignoring old recipe for target 'out/target/product/victara/system/vendor/lib/libwvm.so'
build/core/Makefile:46: warning: overriding recipe for target 'out/target/product/victara/system/lib/drm/libfwdlockengine.so'
build/core/base_rules.mk:550: warning: ignoring old recipe for target 'out/target/product/victara/system/lib/drm/libfwdlockengine.so'
build/core/Makefile:46: warning: overriding recipe for target 'out/target/product/victara/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/base_rules.mk:550: warning: ignoring old recipe for target 'out/target/product/victara/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/Makefile:46: warning: overriding recipe for target 'out/target/product/victara/system/vendor/lib/libWVStreamControlAPI_L1.so'
build/core/Makefile:46: warning: ignoring old recipe for target 'out/target/product/victara/system/vendor/lib/libWVStreamControlAPI_L1.so'
build/core/Makefile:46: warning: overriding recipe for target 'out/target/product/victara/system/vendor/lib/drm/libdrmwvmplugin.so'
build/core/Makefile:46: warning: ignoring old recipe for target 'out/target/product/victara/system/vendor/lib/drm/libdrmwvmplugin.so'
build/core/Makefile:46: warning: overriding recipe for target 'out/target/product/victara/system/vendor/lib/mediadrm/libwvdrmengine.so'
build/core/Makefile:46: warning: ignoring old recipe for target 'out/target/product/victara/system/vendor/lib/mediadrm/libwvdrmengine.so'
No private recovery resources for TARGET_DEVICE victara
Export includes file: system/core/libmincrypt/Android.mk -- out/host/linux-x86/obj32/STATIC_LIBRARIES/libmincrypt_intermediates/export_includes
Header: out/host/linux-x86/obj/include/libexpat/expat.h
Header: out/host/linux-x86/obj/include/libexpat/expat_external.h
Header: out/target/product/victara/obj/include/libexpat/expat.h
Header: out/target/product/victara/obj/include/libexpat/expat_external.h
Header: out/host/linux-x86/obj/include/libpng/png.h
Header: out/host/linux-x86/obj/include/libpng/pngconf.h
Header: out/host/linux-x86/obj/include/libpng/pngusr.h
Header: out/target/product/victara/obj/include/libpng/png.h
Header: out/target/product/victara/obj/include/libpng/pngconf.h
Header: out/target/product/victara/obj/include/libpng/pngusr.h
Header: out/host/linux-x86/obj/include/selinux/selinux.h
Header: out/host/linux-x86/obj/include/selinux/label.h
Header: out/host/linux-x86/obj/include/selinux/context.h
Header: out/host/linux-x86/obj/include/selinux/avc.h
Header: out/host/linux-x86/obj/include/selinux/android.h
Header: out/target/product/victara/obj/include/selinux/selinux.h
Header: out/target/product/victara/obj/include/selinux/label.h
Header: out/target/product/victara/obj/include/selinux/context.h
Header: out/target/product/victara/obj/include/selinux/avc.h
Header: out/target/product/victara/obj/include/selinux/android.h
Header: out/target/product/victara/obj/include/libsonivox/eas.h
Header: out/target/product/victara/obj/include/libsonivox/eas_types.h
Header: out/target/product/victara/obj/include/libsonivox/eas_reverb.h
Header: out/target/product/victara/obj/include/libsonivox/jet.h
Header: out/target/product/victara/obj/include/libsonivox/ARM_synth_constants_gnu.inc
Import includes file: out/host/linux-x86/obj32/STATIC_LIBRARIES/libmincrypt_intermediates/import_includes
Export includes file: system/core/mkbootimg/Android.mk -- out/host/linux-x86/obj32/EXECUTABLES/mkbootimg_intermediates/export_includes
Export includes file: build/libs/host/Android.mk -- out/host/linux-x86/obj32/STATIC_LIBRARIES/libhost_intermediates/export_includes
Import includes file: out/host/linux-x86/obj32/STATIC_LIBRARIES/libhost_intermediates/import_includes
Export includes file: build/tools/acp/Android.mk -- out/host/linux-x86/obj32/EXECUTABLES/acp_intermediates/export_includes
make: *** No rule to make target 'out/target/product/victara/kernel', needed by 'out/target/product/victara/boot.img'. Pare.
make: ** Esperando que outros processos terminem.
Notice file: system/core/libmincrypt/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib/libmincrypt.a.txt

#### make failed to build some targets (02:44 (mm:ss)) ####

Then I tried with new kernel files and got this:

(venv)[vinnom@arch_vinnom Frank]$ make otapackage -j7
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1
TARGET_PRODUCT=frank_victara
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.19.4-1-ck-x86_64-with-glibc2.2.5
HOST_BUILD_TYPE=release
BUILD_ID=LMY47I
OUT_DIR=out
============================================
find: `phone/java': Arquivo ou diretório não encontrado
find: `phone/java': Arquivo ou diretório não encontrado
find: `dummy': Arquivo ou diretório não encontrado
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
build/core/Makefile:46: warning: overriding recipe for target 'out/target/product/victara/system/bin/rild'
build/core/base_rules.mk:550: warning: ignoring old recipe for target 'out/target/product/victara/system/bin/rild'
build/core/Makefile:46: warning: overriding recipe for target 'out/target/product/victara/system/lib/libril.so'
build/core/base_rules.mk:550: warning: ignoring old recipe for target 'out/target/product/victara/system/lib/libril.so'
build/core/Makefile:46: warning: overriding recipe for target 'out/target/product/victara/system/lib/librilutils.so'
build/core/base_rules.mk:550: warning: ignoring old recipe for target 'out/target/product/victara/system/lib/librilutils.so'
build/core/Makefile:46: warning: overriding recipe for target 'out/target/product/victara/system/lib/libjni_latinime.so'
build/core/base_rules.mk:550: warning: ignoring old recipe for target 'out/target/product/victara/system/lib/libjni_latinime.so'
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/alarms/Argon.ogg:system/media/audio/alarms/Argon.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/alarms/Carbon.ogg:system/media/audio/alarms/Carbon.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/alarms/Helium.ogg:system/media/audio/alarms/Helium.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/alarms/Krypton.ogg:system/media/audio/alarms/Krypton.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/alarms/Neon.ogg:system/media/audio/alarms/Neon.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/alarms/Oxygen.ogg:system/media/audio/alarms/Oxygen.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/alarms/Osmium.ogg:system/media/audio/alarms/Osmium.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/alarms/Platinum.ogg:system/media/audio/alarms/Platinum.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/camera_click.ogg:system/media/audio/ui/camera_click.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/camera_focus.ogg:system/media/audio/ui/camera_focus.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/Dock.ogg:system/media/audio/ui/Dock.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/Effect_Tick.ogg:system/media/audio/ui/Effect_Tick.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/KeypressDelete.ogg:system/media/audio/ui/KeypressDelete.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/KeypressInvalid.ogg:system/media/audio/ui/KeypressInvalid.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/KeypressReturn.ogg:system/media/audio/ui/KeypressReturn.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/KeypressSpacebar.ogg:system/media/audio/ui/KeypressSpacebar.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/KeypressStandard.ogg:system/media/audio/ui/KeypressStandard.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/Lock.ogg:system/media/audio/ui/Lock.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/LowBattery.ogg:system/media/audio/ui/LowBattery.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/Trusted.ogg:system/media/audio/ui/Trusted.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/Undock.ogg:system/media/audio/ui/Undock.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/Unlock.ogg:system/media/audio/ui/Unlock.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/VideoRecord.ogg:system/media/audio/ui/VideoRecord.ogg ignored.
PRODUCT_COPY_FILES vendor/frank/prebuilts/common/system/media/audio/ui/WirelessChargingStarted.ogg:system/media/audio/ui/WirelessChargingStarted.ogg ignored.
build/core/Makefile:46: warning: overriding recipe for target 'out/target/product/victara/system/vendor/lib/libwvdrm_L1.so'
build/core/Makefile:46: warning: ignoring old recipe for target 'out/target/product/victara/system/vendor/lib/libwvdrm_L1.so'
build/core/Makefile:46: warning: overriding recipe for target 'out/target/product/victara/system/vendor/lib/libwvm.so'
build/core/Makefile:46: warning: ignoring old recipe for target 'out/target/product/victara/system/vendor/lib/libwvm.so'
build/core/Makefile:46: warning: overriding recipe for target 'out/target/product/victara/system/lib/drm/libfwdlockengine.so'
build/core/base_rules.mk:550: warning: ignoring old recipe for target 'out/target/product/victara/system/lib/drm/libfwdlockengine.so'
build/core/Makefile:46: warning: overriding recipe for target 'out/target/product/victara/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/base_rules.mk:550: warning: ignoring old recipe for target 'out/target/product/victara/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/Makefile:46: warning: overriding recipe for target 'out/target/product/victara/system/vendor/lib/libWVStreamControlAPI_L1.so'
build/core/Makefile:46: warning: ignoring old recipe for target 'out/target/product/victara/system/vendor/lib/libWVStreamControlAPI_L1.so'
build/core/Makefile:46: warning: overriding recipe for target 'out/target/product/victara/system/vendor/lib/drm/libdrmwvmplugin.so'
build/core/Makefile:46: warning: ignoring old recipe for target 'out/target/product/victara/system/vendor/lib/drm/libdrmwvmplugin.so'
build/core/Makefile:46: warning: overriding recipe for target 'out/target/product/victara/system/vendor/lib/mediadrm/libwvdrmengine.so'
build/core/Makefile:46: warning: ignoring old recipe for target 'out/target/product/victara/system/vendor/lib/mediadrm/libwvdrmengine.so'
No private recovery resources for TARGET_DEVICE victara
Import includes file: out/host/linux-x86/obj32/EXECUTABLES/mkbootimg_intermediates/import_includes
host C: libmincrypt_32 <= system/core/libmincrypt/dsa_sig.c
host C: libmincrypt_32 <= system/core/libmincrypt/p256.c
host C: libmincrypt_32 <= system/core/libmincrypt/p256_ec.c
host C: libmincrypt_32 <= system/core/libmincrypt/p256_ecdsa.c
host C: libmincrypt_32 <= system/core/libmincrypt/rsa.c
host C: libmincrypt_32 <= system/core/libmincrypt/sha.c
host C: libmincrypt_32 <= system/core/libmincrypt/sha256.c
Import includes file: out/host/linux-x86/obj32/EXECUTABLES/acp_intermediates/import_includes
make: *** No rule to make target 'out/target/product/victara/kernel', needed by 'out/target/product/victara/boot.img'. Pare.
make: ** Esperando que outros processos terminem.
host C: libhost_32 <= build/libs/host/CopyFile.c

#### make failed to build some targets (03:16 (mm:ss)) ####

Arrrghh :mad: