Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
crossdev arch specific patches
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
cinderblock
n00b
n00b


Joined: 18 Jan 2008
Posts: 11
Location: Menlo Park, CA

PostPosted: Tue Oct 06, 2009 5:11 am    Post subject: crossdev arch specific patches Reply with quote

Is there a supported way to apply a patch to a specific arch's toolchain?

Let me explain:

I'm working with AVRs and have successfully built a -s4 cross tool chain with crossdev.

The issue is 'avr-size' (from cross-avr/binutils) does not have the 'crossavr-binutils-avr-size.patch' that makes the program output more than what 'size' does.

'avr-size' gives invaluable information about space usage for your specific device.

I looked into editing the ebuild for cross-avr/binutils, but /usr/local/portage/cross-avr/binutils is just a symlink to portage's binutils, which in turn just inherits 'toolchain-binutils'.

I can't edit the local binutils-2.19.1-r1.ebuild to add the patch since it's actually the one from the main portage tree. And even if I could, where would I start since there are no local functions where I would normally put my epatch line?
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