Thank you for the clarification.

czw., 6 gru 2018 o 17:06 Burton, Ross <[email protected]> napisaƂ(a):

> On Thu, 6 Dec 2018 at 16:03, Tomasz Michalski <[email protected]>
> wrote:
> > I have recipe componentX.bb which refer to some C++ repository. In C++
> repository I have in main CMakeList.txt:
> >
> > install(PROGRAMS ./script/start.sh DESTINATION
> ${CMAKE_INSTALL_COMPONENTXDIR}/init.d)
> > install(PROGRAMS ./script/functions.sh DESTINATION
> ${CMAKE_INSTALL_BINDIR})
> >
> > When I add to componentX.bb my own implementation of do_install() then
> start.sh and function.sh script is not installed from CMakeList.txt!
> > How to tell bitbake in do_install() body to installl this what is in
> CMakeList.txt and moreover something more? Using do_install_append() is not
> a solution for my case because do_install_append() cannot be overwritten in
> another meta-layer, for example in componentX.bbappend. So this must be
> do_install() function.
>
> By writing your own do_install you're replacing the cmake class's
> do_install which is why it doesn't install those files.
>
> From inside your own do_install() you can call the cmake class
> do_install directly: it's called cmake_do_install.
>
> Ross
>
-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to