dimanche 28 décembre 2014

Errors building your own android kernel


I am following this tutorial


http://forum.xda-developers.com/showthread.php?t=2152819


I get the following when i execute


$make maker.defconfig


make: Nothing to be done for `maker.defconfig'.


Then i set the CROSS_COMPILER and echo it


$ echo $CROSS_COMPILE


/usr/bin/arm-none-eabi-


and when i execute


$make ARCH=arm


i get the following errors


CHK include/linux/version.h CHK include/generated/utsrelease.h HOSTCC scripts/basic/fixdep make[1]: `include/generated/mach-types.h' is up to date. CC kernel/bounds.s gcc: error: unrecognized argument in option ‘-mabi=apcs-gnu’ gcc: note: valid arguments to ‘-mabi=’ are: ms sysv gcc: error: unrecognized command line option ‘-mlittle-endian’ gcc: error: unrecognized command line option ‘-mapcs’ gcc: error: unrecognized command line option ‘-mno-sched-prolog’ make[1]: * [kernel/bounds.s] Error 1 make: * [prepare0] Error 2


Any idea how to resolve these


I got the same errors using Android NDK toolchain.


Thanks





Aucun commentaire:

Enregistrer un commentaire