From: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk>
To: yocto@yoctoproject.org
Subject: Re: Missing dependencies on driver header
Date: Fri, 31 Mar 2017 15:56:46 +0200 [thread overview]
Message-ID: <1490968606.11772.32.camel@collabora.co.uk> (raw)
In-Reply-To: <07e901d2aa24$9e0ea470$da2bed50$@ln-systems.com>
On Fri, 2017-03-31 at 14:42 +0100, colin.helliwell@ln-systems.com wrote:
> I have a niggly problem I keep running into, especially with fresh image
> builds.
> I have a custom driver, and a user-space library for controlling it;
> therefore the library includes one of the driver's header files (IOCTL defs
> etc).
> However I can't get the dependencies correct in the library recipe so as to
> get the driver's header installed and available to the library build step.
> In other words 'bitbake MyDriverLib' gives a "MyDriver.h: no such file or
> directory "
> The lib's recipe includes
> inherit autotools lib_package binconfig-disabled pkgconfig
> DEPENDS_${PN} = "MyDriver"
Usually I use "DEPENDS" and not "DEPENDS_${PN}".
Else does your kernel module recipe populate sysroot with the header?
> RDEPENDS_${PN} = "MyDriver"
>
> At 'some point later', the lib *will* build ok: I've done each MyDriver
> step one by one, and it seems that once the 'install' has been done then
> MyDriverLib will then compile. ('-c compile MyDriver' isn't sufficient). But
> shouldn't the RDEPENDS above trigger the MyDriver install?
> I'm obviously missing a dependency hook somewhere?
>
>
>
next prev parent reply other threads:[~2017-03-31 13:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-31 13:42 Missing dependencies on driver header colin.helliwell
2017-03-31 13:56 ` Fabien Lahoudere [this message]
2017-04-03 8:39 ` Colin Helliwell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1490968606.11772.32.camel@collabora.co.uk \
--to=fabien.lahoudere@collabora.co.uk \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.