I am trying to build a kernel for moto g 2014 based on cm source.
what am I missing, I am using the linaro toolchain. How do I fix these errors?
Code:
sid@sid-truestark:~/kernelmoto$ export ARCH=arm
sid@sid-truestark:~/kernelmoto$ export CROSS_COMPILER=~/android/arm-cortex_a7-linux/arm-cortex_a7-linux-gnueabihf-
sid@sid-truestark:~/kernelmoto$ make titan_defconfig
drivers/usb/gadget/Kconfig:881:warning: defaults for choice values not supported
#
# configuration written to .config
#
sid@sid-truestark:~/kernelmoto$ make -j6
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/usb/gadget/Kconfig:881:warning: defaults for choice values not supported
CHK include/linux/version.h
CC scripts/mod/empty.o
gcc: error: unrecognized argument in option -mabi=aapcs-linux
gcc: note: valid arguments to -mabi= are: ms sysv
gcc: error: unrecognized command line option -mlittle-endian
gcc: error: unrecognized command line option -mno-thumb-interwork
scripts/Makefile.build:307: recipe for target 'scripts/mod/empty.o' failed
make[2]: *** [scripts/mod/empty.o] Error 1
scripts/Makefile.build:443: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
Makefile:515: recipe for target 'scripts' failed
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
sid@sid-truestark:~/kernelmoto$Download from this link
No comments:
Post a Comment