Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 302652

Summary: media-tv/linuxtv-dvb-apps: add cross-compile support
Product: Gentoo Linux Reporter: Sergey Mironov <ierton>
Component: New packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED NEEDINFO    
Severity: enhancement CC: ierton
Priority: High Keywords: NeedPatch
Version: unspecified   
Hardware: ARM   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: linuxtv-dvb-apps ebuild with ~arm enabled.
linuxtv-dvb-apps-1.1.1.20080317.ebuild arm crossdev patch
arm crossdev patch

Description Sergey Mironov 2010-01-28 16:00:40 UTC
Hi. I have adopted existing linuxtv-dvb-apps-1.1.1.20080317 ebuild. Now it successfully emerges on ARM via cross-dev toolchain.

Reproducible: Always

Steps to Reproduce:
Comment 1 Sergey Mironov 2010-01-28 16:02:36 UTC
Created attachment 217739 [details]
linuxtv-dvb-apps ebuild with ~arm enabled.

Here is the ebuild.
Comment 2 Sergey Mironov 2010-01-28 16:05:11 UTC
Actually, the difference is in one line (besides ~arm keyword):

export CC=${CHOST}-gcc
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2010-01-29 10:01:33 UTC
Please, attach patch (diff -u) instead of full ebuild.
Comment 4 Sergey Mironov 2010-01-29 11:13:14 UTC
Created attachment 217823 [details, diff]
linuxtv-dvb-apps-1.1.1.20080317.ebuild arm crossdev patch

Patch attached
Comment 5 Sergey Mironov 2010-01-29 11:48:32 UTC
Created attachment 217825 [details, diff]
arm crossdev patch

Previous patch contained header modification. This one is clean.
Comment 6 Wormo (RETIRED) gentoo-dev 2010-02-09 07:28:13 UTC
Thanks for submitting your cross-compile fix, assigning to maintainers of linuxtv-dvb-apps.
Comment 7 SpanKY gentoo-dev 2016-01-26 06:58:18 UTC
you should not assume any CC value.  inherit the toolchain-funcs eclass and run:
  tc-export CC
Comment 8 Pacho Ramos gentoo-dev 2016-02-08 11:49:10 UTC
An updated patch would be needed then