downloaded ubertc arm-linux-androideabi-4.9 toolchain and unzipped to ~/android/los17/ubertc/
Code:thinkmachine@mx:~/android/los17/kernel/oneplus/onyx $ export ARCH=arm thinkmachine@mx:~/android/los17/kernel/oneplus/onyx $ export CROSS_COMPILE=/home/thinkmachine/android/los17/ubertc/arm-linux-androideabi/ thinkmachine@mx:~/android/los17/kernel/oneplus/onyx $ make onyx_defconfig # # configuration written to .config # thinkmachine@mx:~/android/los17/kernel/oneplus/onyx $ make -j16 make: /home/thinkmachine/android/los17/ubertc/arm-linux-androideabi/gcc: Command not found scripts/kconfig/conf --silentoldconfig Kconfig make: /home/thinkmachine/android/los17/ubertc/arm-linux-androideabi/gcc: Command not found CHK include/generated/uapi/linux/version.h CC scripts/mod/empty.o /bin/sh: 1: /home/thinkmachine/android/los17/ubertc/arm-linux-androideabi/gcc: not found make[2]: *** [scripts/Makefile.build:308: scripts/mod/empty.o] Error 127 make[1]: *** [scripts/Makefile.build:443: scripts/mod] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:531: scripts] Error 2 make: *** Waiting for unfinished jobs.... thinkmachine@mx:~/android/los17/kernel/oneplus/onyx $
export CROSS_COMPILE=/home/thinkmachine/android/los17/ubertc/arm-linux-androideabi/
that´s wrong...
you should have bin folder inside ubertc folder.
export CROSS_COMPILE=/home/thinkmachine/android/los17/ubertc/bin/arm-linux-androideabi-
like this.:good: