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?
Thank you in advance!
Armando Hernandez.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#48553): https://lists.yoctoproject.org/g/yocto/message/48553
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]]
-=-=-=-=-=-=-=-=-=-=-=-