FORUMS

Kernel Building Help

4,607 posts
Thanks Meter: 2,575
 
By Chochiwpg, Senior Member on 28th June 2014, 03:21 AM
Post Reply Subscribe to Thread Email Thread
Wondering if anyone can give me a hand. I am trying to build the kernel from source and am running into a problem. What am I doing wrong?

First I obtain the kernel binary git log

git clone https://android.googlesource.com/device/lge/hammerhead
cd hammerhead
git log --max-count=1

I then made note of the commit message received

Then I downloaded kernel sources

git clone https://android.googlesource.com/kernel/msm.git

Then I downloaded prebuilt GCC

git clone https://android.googlesource.com/pla...m/arm-eabi-4.6

Then I went to build

export ARCH=arm
export SUBARCH=arm
export CROSS_COMPILE=arm-eabi-
git checkout (with the commit message from earlier)
make hammerhead_deconfig

Then I get this error message
make: *** No rule to make target `hammerhead_deconfig'. Stop.

Not sure what I did wrong or how to resolve. Any suggestions? Thanks.
 
 
28th June 2014, 03:34 AM |#2  
Gnome's Avatar
Recognized Contributor
Thanks Meter: 7,280
 
Donate to Me
More
Dude, its hammerhead_defconfig not hammerhead_deconfig.

Check my SCRIPT
Last edited by Gnome; 28th June 2014 at 03:41 AM.
The Following User Says Thank You to Gnome For This Useful Post: [ View ]
28th June 2014, 03:59 AM |#3  
Chochiwpg's Avatar
OP Senior Member
Flag Winnipeg
Thanks Meter: 2,575
 
More
Quote:
Originally Posted by Gnome

Dude, its hammerhead_defconfig not hammerhead_deconfig.

Check my SCRIPT

I'll give that a go and should I perform that command in the hammerhead path or msm path?

Sent from my Nexus 5 using XDA Free mobile app
28th June 2014, 04:12 AM |#4  
Gnome's Avatar
Recognized Contributor
Thanks Meter: 7,280
 
Donate to Me
More
Quote:
Originally Posted by Chochiwpg

I'll give that a go and should I perform that command in the hammerhead path or msm path?

Sent from my Nexus 5 using XDA Free mobile app

Do that in kernel patch itself..

Based on your post the Kernel Path is msm, so:

Code:
cd msm
then run the commands, dont forget to checkout the right branch, I think it's android-hammerhead-kk-mr2

Code:
git checkout android-hammerhead-kk-mr2
Last edited by Gnome; 28th June 2014 at 04:14 AM.
The Following User Says Thank You to Gnome For This Useful Post: [ View ]
28th June 2014, 11:07 AM |#5  
Chochiwpg's Avatar
OP Senior Member
Flag Winnipeg
Thanks Meter: 2,575
 
More
Quote:
Originally Posted by Gnome

Dude, its hammerhead_defconfig not hammerhead_deconfig.

Check my SCRIPT

Hey bud,

tried defconfig as well and got the exact same error message. Sigh
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes