On Mon, Feb 22, 2021 at 4:52 PM Karthik Poduval
<[email protected]> wrote:
>
> I have a 5.4 kernel where I applied a patch (using a .scc file) from
> kernel 5.6 which brings in dmabuf heaps.
>
> The patch exports a uapi header
> include/uapi/linux/dma-heap.h.
> I am trying to write an application that uses dmabuf with a recipe (no
> special DEPENDS).
>
> It is able to find
> #include<linux/dma-buf.h>
> but not
> #include<linux/dma-heap.h> (this file is introduced in the patch)
>
> I looked at the recipe's sysroot
> recipe-sysroot/usr/linux/include
> and  dma-buf.h is there but not  dma-heap.h
>
> Why is the header not being imported ?
>

What does patch look like? just adding the file is not enough, it
should be added to makefiles to be exported as UAPI header

> --
> Regards,
> Karthik Poduval
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#52441): https://lists.yoctoproject.org/g/yocto/message/52441
Mute This Topic: https://lists.yoctoproject.org/mt/80841186/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to