>> I tried to rebuild the Yocto image with the 'meta-oic' recipe >> for Edison board, it works well. Thanks for the help.
Great. Good to know? >> And I'm trying to enable the Iotivity RA feature for Edison board, I >> set up Yocto cross-compiler toolchain, then tried to cross-compile >> Iotivity, but it failed. Do you have any advice? Thanks again. You shouldn?t have to cross-compile by hand. If your goal is to build IoTivity with specific compile-time options (which you supply to scons) for Edison, you only have to modify the EXTRA_OESCONS variable inside the IoTivity recipe to match your desired set (It has simply picked some baseline set as the default) and then rebuild your Yocto image. - Kishen Maloor Intel Open Source Technology Center From: LiShaoguang <shaoguang.li at hotmail.com<mailto:[email protected]>> Date: Friday, March 4, 2016 at 12:41 AM To: Kishen Maloor <kishen.maloor at intel.com<mailto:kishen.maloor at intel.com>>, "iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org>" <iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org>> Subject: RE: [dev] Running Iotivity on Galileo with RA Hi Kishen, I tried to rebuild the Yocto image with the 'meta-oic' recipe for Edison board, it works well. Thanks for the help. And I'm trying to enable the Iotivity RA feature for Edison board, I set up Yocto cross-compiler toolchain, then tried to cross-compile Iotivity, but it failed. Do you have any advice? Thanks again. Regards, Shaoguang > From: kishen.maloor at intel.com<mailto:kishen.maloor at intel.com> > To: shaoguang.li at hotmail.com<mailto:shaoguang.li at hotmail.com>; > iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org> > Subject: Re: [dev] Running Iotivity on Galileo > Date: Fri, 19 Feb 2016 17:43:24 +0000 > > Hi, > > > If you?re building your OS image for Galileo using Yocto, you should be able > to add the meta-oic Yocto layer > > http://git.yoctoproject.org/cgit/cgit.cgi/meta-oic/about/ and get IoTivity in > its OS image. > > > By the way, the TARGET_OS=yocto build switch is meant to be only to be > invoked by the > > Yocto build process, i.e. while building the IoTivity recipe (as suggested > above). > > In some circumstances, you should be able to run this build by hand if you > have a Yocto > > derived toolchain installed on your system, but it doesn?t work all the time, > and I don?t > > recommend it. > > > -Kishen. > > From: <iotivity-dev-bounces at lists.iotivity.org<mailto:iotivity-dev-bounces > at lists.iotivity.org><mailto:iotivity-dev-bounces at lists.iotivity.org>> on > behalf of LiShaoguang <shaoguang.li at hotmail.com<mailto:shaoguang.li at > hotmail.com><mailto:shaoguang.li at hotmail.com>> > Date: Friday, February 19, 2016 at 12:57 AM > To: "iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at > lists.iotivity.org><mailto:iotivity-dev at lists.iotivity.org>" <iotivity-dev > at lists.iotivity.org<mailto:iotivity-dev at > lists.iotivity.org><mailto:iotivity-dev at lists.iotivity.org>> > Subject: [dev] Running Iotivity on Galileo > > Hi, > > I'm trying to run Iotivity on Galileo gen2 platform which has a Yocto OS. I > tried to compile the iotivity project with the following command: > scons TARGET_OS=yocto TARGET_ARCH=i586 > scons TARGET_OS=linux TARGET_ARCH=x86 > > But none of them worked. Can anyone please give me some advice about it? It > will be a great help. > > Thanks&Regards, > Shaoguang
