Hi,

Looks like you have not "synced" the source code for goldfish kernel.

The default manifest file no longer contains the kernel path. One need
to have a local manifest file to sync the kernel tree. Follow the
procedure below:

Step 1)

In the working directory where you have synced other source code, you
will see a directory ".repo".
Change the directory to .repo (#cd .repo)

Step 2) Create a local manifest file which will have the details of the
goldfish kernel path

#cat > local_manifest.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
 <project path="goldfishkernel" name="kernel/common"
revision="refs/heads/android-goldfish-2.6.29"/>
</manifest>

Press ctl+d

Step 3) Now sync the repository

#repo sync

Step 4) Now set the build environment variables

#export PATH=$PATH:
<androidsdk-path>/prebuilt/linux-x86/toolchain/arm-eabi-4.3.1/bin

( Note that you have to replace <androidsdk-path> with the path where
you have installed android SDK)

#export ARCH=arm

Step 5) Now build the goldfish

        #make ARCH=arm CROSS_COMPILE=arm-eabi- goldfish_defconfig
        #make ARCH=arm CROSS_COMPILE=arm-eabi-

Hope this helps

/Shivappa

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of prokash
Sent: Saturday, August 29, 2009 8:37 PM
To: Android Linux Kernel Development
Subject: [android-kernel] Building kernel


Hi All,

I recently synced the whole tree, and looking at ~prebuilt/android-arm/
kernel folder... There is a file named PREBUILT that has the
instruction to build the kernel...

My question is that from what folder the following command should be
issued to git ...

git clone git://android.kernel.org/kernel/common.git kernel


To me it must be from the platform folder above ( i.e. from android-
arm). Am I right?

Also once again, the tree structure documented in one of the site is
still very outdated...

thanks
-pro


--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel
-~----------~----~----~----~------~----~------~--~---

Reply via email to