Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
RPi kernel cross-compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Wed May 24, 2017 1:42 pm    Post subject: RPi kernel cross-compile Reply with quote

I've been trying to compile a kernel for an RPi Zero W; however, the gentoo rpi kernel
build has massive dependencies such as git and guile, so I really need to crosscompile
it. I've got a crosscompiler built, and ordinary packages build with no problems,
but libassuan (needed by git?) fails with a complicated path error.

What's the best way to cross-compile the kernel from raspberrypi-sources?

Thanks - Will
Back to top
View user's profile Send private message
Telemin
l33t
l33t


Joined: 25 Aug 2005
Posts: 753
Location: Glasgow, UK

PostPosted: Wed May 24, 2017 2:27 pm    Post subject: Reply with quote

I assume these are the dependencies for emerging sys-kernel/raspberrypi-sources?

The alternative is just to grab the latest version of the sources from the raspberry pi github and cross compile them, which is as simple as make ARCH=arm CROSS_COMPILE=armv6j-hardfloat-linux-gnueabi

-Telemin-
_________________
The Geek formerly known as -Freestyling-
When you feel your problem has been solved please add [Solved] to the topic title.
Please adopt an unanswered post
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum