Ming-Hong Wu <minhong.wu(a)gmail.com> 於 2019年8月1日 週四 上午1:07寫道：
I'm fine on working with Kernel but not Android, I found the kernel codes and
by typing make (with parameters) at the SDK top directory, I found the object files (*.o)
in the out/ directory are not updated.
Is there anything I missed?
Please help to advise the way for modifying, re-compiling Kernel and the final image.
If I missed any document, please also guide, Thanks.
Instead of compiling the whole SDK for final image, if there's a quick command to
re-compile Kernel codes (in case there's coding issue; this can save some time), that
will be appreciated.
Modifying kernel tree won't trigger kernel rebuilding since
the kernel build system is not integrated well with AOSP's.
They are completely different designs.
You have to force trigger the rebuild.
The simplest way is to touch the kernel config
you use or just remove $OUT/kernel/.config.