Ubuntu kernel
From Attie's Wiki
(Difference between revisions)
m |
m |
||
Line 19: | Line 19: | ||
fakeroot debian/rules clean | fakeroot debian/rules clean | ||
export `dpkg-architecture -aarmel` | export `dpkg-architecture -aarmel` | ||
− | skipabi=true skipmodule=true fakeroot debian/rules binary- | + | #skipabi=true skipmodule=true fakeroot debian/rules binary |
− | skipabi=true skipmodule=true fakeroot debian/rules binary- | + | skipabi=true skipmodule=true fakeroot debian/rules binary-omap4 |
− | skipabi=true skipmodule=true fakeroot debian/rules binary | + | #skipabi=true skipmodule=true fakeroot debian/rules binary-indep |
+ | #skipabi=true skipmodule=true fakeroot debian/rules binary-perarch | ||
+ | |||
</source> | </source> | ||
Latest revision as of 17:12, 6 October 2011
This page outlines steps to (cross-)compile the Ubuntu kernel (why can't it be simple!) with a 10.04 host machine
- First off, get the relevant source. Ubuntu's Git Guide or download the tar.
- Install billions of packages:
sudo su # the ones they tell you about apt-get install git git-core libnewt-dev apt-get install fakeroot build-essential crash kexec-tools makedumpfile kernel-wedge apt-get build-dep linux apt-get install libncurses5 libncurses5-dev libelf-dev asciidoc binutils-dev # and the ones they dont... apt-get install libdw-dev exit
- Copy in your config (from
/proc/config.gz
or/boot/config-*
or/boot/config-`uname -r`
) - Execute some awesome (and largely wasteful) commands:
fakeroot debian/rules clean export `dpkg-architecture -aarmel` #skipabi=true skipmodule=true fakeroot debian/rules binary skipabi=true skipmodule=true fakeroot debian/rules binary-omap4 #skipabi=true skipmodule=true fakeroot debian/rules binary-indep #skipabi=true skipmodule=true fakeroot debian/rules binary-perarch