Skip to content

Instantly share code, notes, and snippets.

@schneider94
Created August 11, 2019 17:03
Show Gist options
  • Save schneider94/0ccb5f6293bdec38ba743320f5674379 to your computer and use it in GitHub Desktop.
Save schneider94/0ccb5f6293bdec38ba743320f5674379 to your computer and use it in GitHub Desktop.
[ 13% 341/2477] Building Kernel
FAILED: TARGET_KERNEL_BINARIES
/bin/bash -c "(make -j3 -C kernel/xiaomi/sdm632 O=/home/zidan23_05_2016/pe/ou
t/target/product/onclite/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/usr/local
/bin/ccache aarch64-linux-android-\" CROSS_COMPILE_ARM32=\"arm-linux-androide
abi-\" Image.gz-dtb ) && (if grep -q '^CONFIG_OF=y' /home/zidan23_05_2016/p
e/out/target/product/onclite/obj/KERNEL_OBJ/.config; then e
cho \"Building DTBs\"; make -j3 -C kernel/xiaomi/sdm632 O=/
home/zidan23_05_2016/pe/out/target/product/onclite/obj/KERNEL_OBJ ARCH=arm64
CROSS_COMPILE=\"/usr/local/bin/ccache aarch64-linux-android-\" CROSS_COMPILE_
ARM32=\"arm-linux-androideabi-\" dtbs; fi ) && (if grep -q '
=m' /home/zidan23_05_2016/pe/out/target/product/onclite/obj/KERNEL_OBJ/.confi
g; then echo \"Building Kernel Modules\";
make -j3 -C kernel/xiaomi/sdm632 O=/home/zidan23_05_2016/pe/out/target/produc
t/onclite/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/usr/local/bin/ccache aar
ch64-linux-android-\" CROSS_COMPILE_ARM32=\"arm-linux-androideabi-\" module
s; fi )"
make: Entering directory '/home/zidan23_05_2016/pe/kernel/xiaomi/sdm632'
make[1]: Entering directory '/home/zidan23_05_2016/pe/out/target/product/oncl
ite/obj/KERNEL_OBJ'
GEN ./Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config/kernel.release
GEN ./Makefile
UPD include/config/kernel.release
CHK include/generated/uapi/linux/version.h
UPD include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
Using /home/zidan23_05_2016/pe/kernel/xiaomi/sdm632 as source for kernel
HOSTCC scripts/genksyms/genksyms.o
/home/zidan23_05_2016/pe/kernel/xiaomi/sdm632/scripts/Makefile.build:44: /hom
e/zidan23_05_2016/pe/kernel/xiaomi/sdm632/scripts/dtc-aosp/Makefile: No such
file or directory
make[3]: *** No rule to make target '/home/zidan23_05_2016/pe/kernel/xiaomi/s
dm632/scripts/dtc-aosp/Makefile'. Stop.
g; then echo \"Building Kernel Modules\";
make -j3 -C kernel/xiaomi/sdm632 O=/home/zidan23_05_2016/pe/out/target/produc
t/onclite/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/usr/local/bin/ccache aar
ch64-linux-android-\" CROSS_COMPILE_ARM32=\"arm-linux-androideabi-\" module
s; fi )"
make: Entering directory '/home/zidan23_05_2016/pe/kernel/xiaomi/sdm632'
make[1]: Entering directory '/home/zidan23_05_2016/pe/out/target/product/oncl
ite/obj/KERNEL_OBJ'
GEN ./Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config/kernel.release
GEN ./Makefile
UPD include/config/kernel.release
CHK include/generated/uapi/linux/version.h
UPD include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
Using /home/zidan23_05_2016/pe/kernel/xiaomi/sdm632 as source for kernel
HOSTCC scripts/genksyms/genksyms.o
/home/zidan23_05_2016/pe/kernel/xiaomi/sdm632/scripts/Makefile.build:44: /hom
e/zidan23_05_2016/pe/kernel/xiaomi/sdm632/scripts/dtc-aosp/Makefile: No such
file or directory
make[3]: *** No rule to make target '/home/zidan23_05_2016/pe/kernel/xiaomi/s
dm632/scripts/dtc-aosp/Makefile'. Stop.
g; then echo \"Building Kernel Modules\";
make -j3 -C kernel/xiaomi/sdm632 O=/home/zidan23_05_2016/pe/out/target/produc
t/onclite/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/usr/local/bin/ccache aar
ch64-linux-android-\" CROSS_COMPILE_ARM32=\"arm-linux-androideabi-\" module
s; fi )"
make: Entering directory '/home/zidan23_05_2016/pe/kernel/xiaomi/sdm632'
make[1]: Entering directory '/home/zidan23_05_2016/pe/out/target/product/oncl
ite/obj/KERNEL_OBJ'
GEN ./Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config/kernel.release
GEN ./Makefile
UPD include/config/kernel.release
CHK include/generated/uapi/linux/version.h
UPD include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
Using /home/zidan23_05_2016/pe/kernel/xiaomi/sdm632 as source for kernel
HOSTCC scripts/genksyms/genksyms.o
/home/zidan23_05_2016/pe/kernel/xiaomi/sdm632/scripts/Makefile.build:44: /hom
e/zidan23_05_2016/pe/kernel/xiaomi/sdm632/scripts/dtc-aosp/Makefile: No such
file or directory
make[3]: *** No rule to make target '/home/zidan23_05_2016/pe/kernel/xiaomi/s
dm632/scripts/dtc-aosp/Makefile'. Stop.
make[2]: *** [/home/zidan23_05_2016/pe/kernel/xiaomi/sdm632/scripts/Makefile.
build:653: scripts/dtc-aosp] Error 2
make[2]: *** Waiting for unfinished jobs....
CC scripts/mod/empty.o
SHIPPED scripts/genksyms/parse.tab.c
SHIPPED scripts/genksyms/lex.lex.c
HOSTCC scripts/mod/mk_elfconfig
CC scripts/mod/devicetable-offsets.s
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/modpost.o
SHIPPED scripts/genksyms/keywords.hash.c
HOSTCC scripts/mod/sumversion.o
SHIPPED scripts/genksyms/parse.tab.h
HOSTCC scripts/genksyms/parse.tab.o
CHK scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/genksyms/lex.lex.o
HOSTLD scripts/mod/modpost
HOSTLD scripts/genksyms/genksyms
make[1]: *** [/home/zidan23_05_2016/pe/kernel/xiaomi/sdm632/Makefile:574: scr
ipts] Error 2
make[1]: Leaving directory '/home/zidan23_05_2016/pe/out/target/product/oncli
te/obj/KERNEL_OBJ'
make: *** [Makefile:152: sub-make] Error 2
make: Leaving directory '/home/zidan23_05_2016/pe/kernel/xiaomi/sdm632'
[ 14% 356/2477] //frameworks/base:framework turbine [common]
ninja: build stopped: subcommand failed.
17:01:24 ninja failed with: exit status 1
#### failed to build some targets (02:20 (mm:ss)) ####
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment