Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Virtualbox: building with kernel built with make O=
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 934
Location: Queensland

PostPosted: Tue Mar 26, 2013 12:56 am    Post subject: Virtualbox: building with kernel built with make O= Reply with quote

Because I have multiple machines, to save space I emerge gentoo-sources just once onto a shared network drive, then use make O= to build the distinct versions of the kernel, as required. This spoofs xf86-virtualbox-video though, because it starts rummaging in /usr/src/linux for certains headers which are actually in locations part-specified by the argument to O. For example, one build is make O=dickless (ho yes, very amusing) and headers are generated in /usr/src/linux/dickless/include instead of /usr/src/linux/include.

Is there a way to tell the build about this ? After looking in the scripts, it seemed that setting KERN_DIR or KERNEL_DIR to /usr/src/linux/dickless would do the trick, but it doesn't. Any ideas ?
_________________
Michael Mounteney
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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