just wondering if anyone has been able to set up the proper environment on multilib Slackware64 14.2 to compile an Android arm64 kernel from source? I'm stuck at the following and have no idea how to proceed...
Code:
{/tmp/jig/kernel/msm-3.18}$ make ARCH=arm64 O=./out KERNEL_COMPRESSION_SUFFIX=gz -j4
make[1]: Entering directory '/tmp/jig/kernel/msm-3.18/out'
/tmp/jig/kernel/msm-3.18/Makefile:661: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
CHK include/config/kernel.release
GEN ./Makefile
CHK include/generated/uapi/linux/version.h
CC scripts/mod/empty.o
CC scripts/mod/devicetable-offsets.s
arm-linux-androideabi-gcc: error: unrecognized command line option '-mgeneral-regs-only'
../scripts/Makefile.build:257: recipe for target 'scripts/mod/empty.o' failed
make[3]: *** [scripts/mod/empty.o] Error 1
make[3]: *** Waiting for unfinished jobs....
arm-linux-androideabi-gcc: error: unrecognized command line option '-mgeneral-regs-only'
../scripts/Makefile.build:153: recipe for target 'scripts/mod/devicetable-offsets.s' failed
make[3]: *** [scripts/mod/devicetable-offsets.s] Error 1
../scripts/Makefile.build:402: recipe for target 'scripts/mod' failed
make[2]: *** [scripts/mod] Error 2
make[2]: *** Waiting for unfinished jobs....
Using .. as source for kernel
/tmp/jig/kernel/msm-3.18/Makefile:559: recipe for target 'scripts' failed
make[1]: *** [scripts] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/tmp/jig/kernel/msm-3.18/out'
Makefile:145: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2