[Android Software/Hacking General [Developers Only]] Alexandroid99:
linking /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/build-msm8974/lk
generating image: /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/build-msm8974/lk.bin
generating listing: /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/build-msm8974/lk.lst
generating listing: /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/build-msm8974/lk.debug.lst
text	data	bss	dec	hex	filename
333532	151432	69952	554916	877a4	/home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/build-msm8974/lk
/home/alexander/android/multiboot/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.2.1-2016.11-x86_64_arm-eabi/bin/arm-eabi-objcopy -O binary /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/build-msm8974/lk /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/build-msm8974/lk.bin
generating symbols: /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/build-msm8974/lk.sym
generating size map: /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/build-msm8974/lk.size
generating stripped elf: /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/build-msm8974/lk_s.elf
/home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/build-msm8974/mkheader /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/build-msm8974/lk.bin /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/build-msm8974/emmc_appsboothd.mbn
Image Destination Pointer: 0x8000
Done execution
cp /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/build-msm8974/lk.bin /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/build-msm8974/emmc_appsboot.raw
cat /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/build-msm8974/emmc_appsboothd.mbn /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/build-msm8974/lk.bin > /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/build-msm8974/EMMCBOOT.MBN
cat /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/build-msm8974/emmc_appsboothd.mbn /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/build-msm8974/lk.bin > /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/build-msm8974/emmc_appsboot.mbn
rm -f /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/build-msm8974/emmc_appsboothd.mbn
make[3]: Leaving directory '/home/alexander/android/multiboot/bootloader/lk/qcom/LA.BF64'
make[2]: Leaving directory '/home/alexander/android/multiboot/bootloader/lk/qcom/LA.BF64'
write /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/fdt_out/0.dtb
write /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/fdt_out/1.dtb
write /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/fdt_out/2.dtb
write /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/fdt_out/3.dtb
write /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/fdt_out/4.dtb
write /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/fdt_out/5.dtb
write /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/fdt_out/6.dtb
write /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/fdt_out/7.dtb
/home/alexander/android/multiboot/out/host/dtbtools/dtbefidroidify /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/fdt_out /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/fdtpatched_out 1 qcom
Processing /home/alexander/android/multiboot/out/device/lge/hammerheadcaf/lk_kernel/fdt_out/5.dtb
can't get chipinfo: 0
ERROR: Operation not permitted
out/build.mk:1027: recipe for target 'lk_kernel' failed
make[1]: *** [lk_kernel] Error 255
make[1]: Leaving directory '/home/alexander/android/multiboot'

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

build/core/main.mk:38: recipe for target 'lk' failed
make: *** [lk] Error 2

I only had a CAF lineage os recovery imageat hand, maybe that's it (no idea, derp)