Adding python3-compile-native


Mauro Ziliani
 

Hi all.

How can I add python3-compile-native to my bsp?

I working with Krogoth, I llok python-3.5-manifest.inc where FILES_${PN}-compile is defined.

I think I need to define FILES_${PN}-compile-native in some way


M


Ross Burton <ross.burton@...>
 

On 26/11/2019 13:03, Mauro Ziliani wrote:
How can I add python3-compile-native to my bsp?
I working with Krogoth, I llok python-3.5-manifest.inc where FILES_${PN}-compile is defined.
I think I need to define FILES_${PN}-compile-native in some way
For a release as old as Krogoth, any dependency on python3-compile should be target-specific. Recent releases have the relevant provides set so that python3-native provides those names and dependencies just work.

tl;dr: set RDEPENDS_${PN}_class-target instead of RDEPENDS_${PN} where you've got a dependency on python3-compile.

Ross