Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302652 - media-tv/linuxtv-dvb-apps: add cross-compile support
Summary: media-tv/linuxtv-dvb-apps: add cross-compile support
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: ARM Linux
: High enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2010-01-28 16:00 UTC by Sergey Mironov
Modified: 2016-02-08 11:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
linuxtv-dvb-apps ebuild with ~arm enabled. (linuxtv-dvb-apps-1.1.1.20080317.ebuild,2.28 KB, text/plain)
2010-01-28 16:02 UTC, Sergey Mironov
Details
linuxtv-dvb-apps-1.1.1.20080317.ebuild arm crossdev patch (linuxtv-dvb-apps-1.1.1.20080317.ebuild.patch,1.09 KB, patch)
2010-01-29 11:13 UTC, Sergey Mironov
Details | Diff
arm crossdev patch (linuxtv-dvb-apps-1.1.1.20080317.ebuild.patch,650 bytes, patch)
2010-01-29 11:48 UTC, Sergey Mironov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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