[yocto] Question about automatic dependencies when native packages are used

Burton, Ross ross.burton at intel.com
Fri Apr 13 08:25:46 PDT 2018


On 10 April 2018 at 18:49, Aaron M. Biver <amb58 at arl.psu.edu> wrote:
> The problem that myapp-native is trying to include mymodule-native.  This
> complains:

Just make the dependency on mymodule target-specific.  Lots of ways
depending on what the dependencies are.

Either clear the native depends:

DEPENDS = "myapp-native mymodule"
DEPENDS_class-native = ""

Or add only to the target depends:

DEPENDS = "myapp-native"
DEPENDS_class-target = "mymodule"

I'm assuming that mymodule is installing headers that you need, and
you're not using DEPENDS instead of RDEPENDS.

Ross



More information about the yocto mailing list