歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux編程 >> Linux編程 >> 如何下載Android 4.0配套的Linux 3.x內核源代碼

如何下載Android 4.0配套的Linux 3.x內核源代碼

日期:2017/3/1 10:56:32   编辑:Linux編程

Android 4.0的源代碼已經可以下載了,在Android官網source.android.com上有下載Android 4.0源代碼的詳細描述。但是,Android官網source.android.com沒有介紹如何下載Android4.0配套的Linux 3.x內核源代碼。在此為大家介紹如何下載Android 4.0配套的Linux 3.x內核源代碼。

下載Android 4.0配套的Linux 3.x內核源代碼步驟:

1、使用git clone https://android.googlesource.com/kernel/common.git 命令clone linux3.x內核的repository的master分支(branch)

2、使用git checkout -b android-3.0 origin/android-3.0命令checkout android-3.0分支(branch),就得到了Linux 3.x內核源代碼了

Copyright © Linux教程網 All Rights Reserved