Android源码树形结构
我已经下载了Android源代码,但在源代码树的顶级目录中没有找到“内核目录”。可以吗?还是失踪了?
/mydroid$ find . -name kernel
./bionic/libc/kernel
./vendor/htc/sapphire-open/kernel
./vendor/htc/dream-open/kernel
./dalvik/libcore/luni-kernel/src/test/java/tests/api/org/apache/harmony/kernel
./dalvik/libcore/luni-kernel/src/main/java/org/apache/harmony/kernel
./prebuilt/android-arm/kernel
./prebuilt/android-x86/kernel
./device/htc/passion/kernel
I have downloaded Android source code but I don't find the "Kernel Directory" in the top level directory of the source code tree. Is it ok? Or is it missing?
/mydroid$ find . -name kernel
./bionic/libc/kernel
./vendor/htc/sapphire-open/kernel
./vendor/htc/dream-open/kernel
./dalvik/libcore/luni-kernel/src/test/java/tests/api/org/apache/harmony/kernel
./dalvik/libcore/luni-kernel/src/main/java/org/apache/harmony/kernel
./prebuilt/android-arm/kernel
./prebuilt/android-x86/kernel
./device/htc/passion/kernel
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
https://android.googlesource.com/platform/manifest 中的
default.xml
不指向内核,因此 repo 不会自动下载它。无论如何,大多数内核树都是特定于机器的。有关获取正确内核的信息,请参阅 http://elinux.org/Android_Kernel_Download。
default.xml
in https://android.googlesource.com/platform/manifest does not point to the kernel, so repo would not automatically download it. Most kernel trees are specific to machines anyway.See http://elinux.org/Android_Kernel_Download for information on getting the right kernel.