On 01/21/2015 02:26 PM, Benjamin Fleming wrote: > > >> -----Original Message----- >> From: Philip Balister [mailto:phi...@balister.org] >> Sent: Tuesday, January 20, 2015 5:29 PM >> To: Benjamin Fleming; yocto@yoctoproject.org >> Subject: Re: [yocto] CMake in populate_sdk >> >> On 01/20/2015 02:42 PM, Benjamin Fleming wrote: >>> How do I add packages to the populate_sdk option? >> Something like this: >> >> https://github.com/balister/meta-sdr/blob/master/recipes- >> images/images/native-sdk.inc >> > Ok, adding TOOLCHAIN_HOST_TASK_append = " nativesdk-cmake" seems to work; it > adds cmake to the SDK. > One more question; when building using the SDK, my cmake-based project fails > to find required libraries; presumably it needs a toolchain.cmake file. Is > there some way for the populate_sdk task to generate the toolchain.cmake > files also? (I see that it generates something for autotools)
We added this to gnuradio: https://github.com/gnuradio/gnuradio/blob/master/cmake/Toolchains/oe-sdk_cross.cmake I wonder if we could generalize this. Philip > > Thanks, Ben > >> Philip >> >>> >>> -Ben Fleming >>> > > -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto