joelagnel / adeb

A debian-based shell environment designed for Android and adb
Apache License 2.0
319 stars 100 forks source link

--kbuildout option: support extract kernel head files when building Linux kernel out-of-tree #13

Closed changchengx closed 5 years ago

changchengx commented 6 years ago

KBUILD_OUT is the variable that is used in Linux build system when building kernel source out-of-tree. Now, "--kbuildout" option is used in adeb build system to extract the kernel head files when building kernel out-of-tree.

changchengx commented 6 years ago

@joelagnel I'll follow your idea to use KERNELOUT to be consistend with "KERNELSRC" Before doing this, do you have some other comments to change the patches? I've replied you comment one by one. Let me know whether there are other changes to be done.

changchengx commented 6 years ago

@joelagnel Do you have some other comments to change the patches besides using "KERNELOUT" instead of "KERNELSRC"?

joelagnel commented 5 years ago

At the moment, I feel out-of-tree header building will be too complex. Also we have eliminated the need for kernel version as long as you are running a recent LTS kernel (headers will be automatically downloaded). For that reason, I am closing this bug. But feel free to reopen if this usecase is still a strong one.