On Fri, Feb 21, 2020 at 5:44 AM Armando Hernandez
<[email protected]> wrote:
>
> Hello,
>
> I have two recipes (let's call them "recipe-A" and "recipe-B").
> Both recipes extend the nativesdk class.
> recipe-B depends on recipe-A
> When building both recipes for target, everything goes well without any 
> issues.
> When building the nativesdk corresponding recipes, recipe-B fails during the 
> task do_configure due to the fact that cmake cannot find the package 
> configuration that corresponds to recipe-A.
>
> On recipe-A.bbappend I have the following lines (recipe-A cmake config file 
> "CommonAPIConfig.cmake" is located under /usr/lib/cmake/CommonAPI):
> FILES_${PN}-dev_append_class-nativesdk = " ${includedir_native} 
> ${libdir_native}"
> BBCLASSEXTEND = "nativesdk"
>
> Since suche cmake config files was not found, I created a recipe-B.bbappend 
> file with the following content:
> EXTRA_OECMAKE_append_class-nativesdk += 
> "-DCMAKE_PREFIX_PATH:PATH=${libdir_native}/cmake/CommonAPI"
>
>
> But I keep getting the same error.
>
> Any hints?

check DEPENDS how are they specified in recipes, it might get
overwritten in some cases for extended
recipes if overrides are in use on depends. Secondly, check the build
tree for failing recipe and see if
it has staged the content from other recipe which it depends on.

>
> Thank you in advance!
>
> Armando Hernandez.
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#48563): https://lists.yoctoproject.org/g/yocto/message/48563
Mute This Topic: https://lists.yoctoproject.org/mt/71450675/21656
Mute #sdk: https://lists.yoctoproject.org/mk?hashtag=sdk&subid=6691583
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to