building Linux kernel on Mac OS X

后端 未结 6 1044
执念已碎
执念已碎 2021-01-30 14:29

I am doing a project to modify the Linux kernel. I have a desktop Linux machine and I have no problem building kernel on it.

However, I am going on a trip and I want to

6条回答
  •  深忆病人
    2021-01-30 15:06

    This works as of kitkat (didn't try earlier versions) - make -j8 ARCH=arm CROSS_COMPILE=arm-eabi- HOSTCFLAGS="-I ../external/elfutils/libelf"

    This assumes the rest of the android build is set up as usual and the kernel directory is in the android build.

提交回复
热议问题