[pkg-fso-maint] crosscompiling linux-2.6-openmoko

Riccardo Magliocchetti riccardo.magliocchetti at gmail.com
Sun Aug 22 13:15:27 UTC 2010


Hello,

i have to recompile linux-2.6-openmoko to add some options that let me 
run bootchart2 and powertop on it, patch attached. The patch is wrong 
wrt powertop because CONFIG_TIMER_STATS=y is not in the final config, 
maybe missing dependencies.

I'm trying to cross compile because... i'm tired of native compiling ;)

First of all this is how i'm building:

ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- dpkg-buildpackage -aarmel

Anyway i have found a small issue which does not look related to the 
fact i'm not on native architecture:

- mkdir `pwd`/debian/`dh_listpackages`/boot/ fails because the dir 
already exists, i think the cause is `dh_listpackages` that returns 
nothing. I have added -p to mkdir to workaround the issue.

The compiled kernels boots fine.

thanks,
riccardo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-config-for-bootchart2-powertop.diff
Type: text/x-patch
Size: 614 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20100822/e7f91faf/attachment.bin>


More information about the pkg-fso-maint mailing list