开发者

Android source code tree structure

开发者 https://www.devze.com 2022-12-29 08:57 出处:网络
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?

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/te开发者_StackOverflow社区st/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


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.

git clone https://android.googlesource.com/kernel/common.git kernel
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号