[Android] Mawth:
I'm having some problems building AOSP for Hammerhead from Google source. I think I've followed all the instructions carefully. Please take a look at the make errors thrown:

PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
PRODUCT_COPY_FILES vendor/broadcom/hammerhead/proprietary/bcm4335c0.hcd:system/vendor/firmware/bcm4335c0.hcd:broadcom ignored.
build/core/Makefile:34: warning: overriding commands for target `/media/nighthawk/aosp6/target/product/hammerhead/system/lib/hw/gps.msm8974.so'
build/core/base_rules.mk:559: warning: ignoring old commands for target `/media/nighthawk/aosp6/target/product/hammerhead/system/lib/hw/gps.msm8974.so'
build/core/Makefile:34: warning: overriding commands for target `/media/nighthawk/aosp6/target/product/hammerhead/system/lib/libgps.utils.so'
build/core/base_rules.mk:559: warning: ignoring old commands for target `/media/nighthawk/aosp6/target/product/hammerhead/system/lib/libgps.utils.so'
build/core/Makefile:34: warning: overriding commands for target `/media/nighthawk/aosp6/target/product/hammerhead/system/lib/libloc_core.so'
build/core/base_rules.mk:559: warning: ignoring old commands for target `/media/nighthawk/aosp6/target/product/hammerhead/system/lib/libloc_core.so'
build/core/Makefile:34: warning: overriding commands for target `/media/nighthawk/aosp6/target/product/hammerhead/system/lib/libloc_eng.so'
build/core/base_rules.mk:559: warning: ignoring old commands for target `/media/nighthawk/aosp6/target/product/hammerhead/system/lib/libloc_eng.so'
No private recovery resources for TARGET_DEVICE hammerhead
host SharedLib: libcrypto-host (/media/nighthawk/aosp6/host/linux-x86/obj/lib/libcrypto-host.so)
JarJar: /media/nighthawk/aosp6/target/common/obj/JAVA_LIBRARIES/libphonenumber-platform_intermediates/classes-jarjar.jar
Copying: /media/nighthawk/aosp6/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes-jarjar.jar
host StaticLib: libaapt (/media/nighthawk/aosp6/host/linux-x86/obj/STATIC_LIBRARIES/libaapt_intermediates/libaapt.a)
Copying: /media/nighthawk/aosp6/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/classes-jarjar.jar
host StaticLib: libpng (/media/nighthawk/aosp6/host/linux-x86/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a)
host StaticLib: libcrypto_static (/media/nighthawk/aosp6/host/linux-x86/obj/STATIC_LIBRARIES/libcrypto_static_intermediates/libcrypto_static.a)
host SharedLib: libbacktrace_32 (/media/nighthawk/aosp6/host/linux-x86/obj32/lib/libbacktrace.so)
host SharedLib: libbacktrace (/media/nighthawk/aosp6/host/linux-x86/obj/lib/libbacktrace.so)
host Executable: bcc (/media/nighthawk/aosp6/host/linux-x86/obj/EXECUTABLES/bcc_intermediates/bcc)
Install: /media/nighthawk/aosp6/host/linux-x86/lib64/libbcc.so
host SharedLib: libcrypto-host_32 (/media/nighthawk/aosp6/host/linux-x86/obj32/lib/libcrypto-host.so)
Install: /media/nighthawk/aosp6/host/linux-x86/usr/icu/icudt55l.dat
host SharedLib: libjavacore (/media/nighthawk/aosp6/host/linux-x86/obj/lib/libjavacore.so)
target Symbolic: libc (/media/nighthawk/aosp6/target/product/hammerhead/symbols/system/lib/libc.so)
Install: /media/nighthawk/aosp6/target/product/hammerhead/system/usr/share/zoneinfo/tzdata
target StaticLib: libminzip (/media/nighthawk/aosp6/target/product/hammerhead/obj/STATIC_LIBRARIES/libminzip_intermediates/libminzip.a)
preparing StaticLib: libminui [including /media/nighthawk/aosp6/target/product/hammerhead/obj/STATIC_LIBRARIES/libadf_intermediates/libadf.a]
target StaticLib: libpng (/media/nighthawk/aosp6/target/product/hammerhead/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a)
Target buildinfo: /media/nighthawk/aosp6/target/product/hammerhead/root/default.prop
preparing StaticLib: libminui [including /media/nighthawk/aosp6/target/product/hammerhead/obj/STATIC_LIBRARIES/libdrm_intermediates/libdrm.a]
/media/nighthawk/aosp6/host/linux-x86/bin/checkpolicy: loading policy configuration from /media/nighthawk/aosp6/target/product/hammerhead/obj/ETC/sepolicy_intermediates/policy.conf
Install: /media/nighthawk/aosp6/host/linux-x86/framework/jack.jar
target StaticLib: libbinder (/media/nighthawk/aosp6/target/product/hammerhead/obj/STATIC_LIBRARIES/libbinder_intermediates/libbinder.a)
Install: /media/nighthawk/aosp6/host/linux-x86/framework/bouncycastle-host.jar
target StaticLib: libminui (/media/nighthawk/aosp6/target/product/hammerhead/obj/STATIC_LIBRARIES/libminui_intermediates/libminui.a)
/media/nighthawk/aosp6/host/linux-x86/bin/jack-admin: line 37: SETTING_VERSION: unbound variable
make: *** [/media/nighthawk/aosp6/host/linux-x86/framework/jack.jar] Error 1
make: *** Deleting file `/media/nighthawk/aosp6/host/linux-x86/framework/jack.jar'
make: *** Waiting for unfinished jobs....
/media/nighthawk/aosp6/host/linux-x86/bin/checkpolicy: policy configuration loaded
/media/nighthawk/aosp6/host/linux-x86/bin/checkpolicy: writing binary representation (version 30) to /media/nighthawk/aosp6/target/product/hammerhead/obj/ETC/sepolicy_intermediates/sepolicy
/media/nighthawk/aosp6/host/linux-x86/bin/checkpolicy: loading policy configuration from /media/nighthawk/aosp6/target/product/hammerhead/obj/ETC/sepolicy_intermediates/policy.conf.dontaudit
/media/nighthawk/aosp6/host/linux-x86/bin/checkpolicy: policy configuration loaded
/media/nighthawk/aosp6/host/linux-x86/bin/checkpolicy: writing binary representation (version 30) to /media/nighthawk/aosp6/target/product/hammerhead/obj/ETC/sepolicy_intermediates//sepolicy.dontaudit

#### make failed to build some targets (42 seconds) ####

Any help is greatly appreciated. I'm not sure what I'm missing.