I am on my second attempt of following the instructions at building the 
system <http://source.android.com/source/downloading.html>. I have  set up 
a Linux, Ubuntu 10.0.04 build environment as recommended and have spent 
hours upon hours trying to figure out how to download a copy of the Android 
source as e.g. found at 
kernel/common <https://android.googlesource.com/kernel/common/>, or any 
other path in android <https://android.googlesource.com/?format=HTML>.
I have zero experience with git other than a cursory read 
of http://source.android.com/source/git-resources.html, and at this point, 
I don't plan on contributing just yet anyway.

My intentions are 
1. download the Android source files
2. build the source files.

My repo directory is ~/.repo.  After I run repo sync (as 
described<http://source.android.com/source/downloading.html>), 
and run a find -name "*aosp*" on ~/.repo, I see many *directory *results 
e.g.

/projects/external/tagsoup.git/refs/remotes/aosp/gingerbread, 
/media/sdb/.repo/projects/bootable/bootloader/legacy.git/refs/remotes/aosp/gingerbread
/media/sdb/.repo/projects/cts.git/logs/refs/remotes/aosp/gingerbread
/media/sdb/.repo/projects/cts.git/refs/remotes/aosp/gingerbread
/media/sdb/.repo/projects/hardware/qcom/gps.git/logs/refs/remotes/aosp/gingerbread
/media/sdb/.repo/projects/hardware/qcom/gps.git/refs/remotes/aosp/gingerbread
/media/sdb/.repo/projects/hardware/qcom/media.git/logs/refs/remotes/aosp/gingerbread
/media/sdb/.repo/projects/hardware/qcom/media.git/refs/remotes/aosp/gingerbread
/media/sdb/.repo/projects/hardware/ril.git/logs/refs/remotes/aosp/gingerbread
/media/sdb/.repo/projects/hardware/ril.git/refs/remotes/aosp/gingerbread
/media/sdb/.repo/projects/hardware/msm7k.git/logs/refs/remotes/aosp/gingerbread
/media/sdb/.repo/projects/hardware/msm7k.git/refs/remotes/aosp/gingerbread
/media/sdb/.repo/projects/hardware/libhardware_legacy.git/logs/refs/remotes/aosp/g


but no *files*. So if I run a "find -name "*.c" on ~/.repo, no "*.c" files 
show up.
I attempted a git clone https://android.googlesource.com/kernel/common 

but all I got was .pack files in the download, which I tried extracting 
with 
git-unpack-objects<http://www.kernel.org/pub/software/scm/git/docs/git-unpack-objects.html>,
 
but no ".c" files came out of that, either. Any help with figuring the 
missing steps here, to either 

A.   get the source files (e.g. "*c", *.h, *.mk, ...) files out of the git 
clone <https://android.googlesource.com/kernel/common> .pack files. 
or ideally, how to 
B.  what I need to have repo sync (e.g. any additional configuration?) 
download the source into my .repo directory. 

Please let me know if clarification is needed.






-- 
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-kernel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to