[yocto] Ifdef on devicetree

2019-02-22 Thread luciosantinell
Hi, i'm trying to add some #ifdef on my device tree in order to separate two different imports. #include "imx6q.dtsi" #ifdef MMC_WRITE #include "imx6qdl-sabre-mmc.dtsi" #elif #include "imx6qdl-sabre-sd.dtsi" #endif where can i add a macro to select what kind of device tree i must import? in /ar

[yocto] How to Install Third party rpm packages

2019-02-22 Thread chaitanya cherukuri
Hello All, I 'm new to YOCTO. I am using YOCTO version 2.5. I would like to install third party rpm package to my image. Currently I'm installing rpm package on my target machine using rpm command rpm -ivh --prefix=/opt/ example.rpm Is there any way that I can do this in a recipe, so that my fi

Re: [yocto] Review request 0/13: Contribute meta-tensorflow to Yocto

2019-02-22 Thread Hongxu Jia
On 2019/2/23 上午12:51, Stephen Lawrence wrote: Good work. You might be interested in the yocto layers for tensorflow, tensorflow-lite and caffe2 on github here [1]. I'm not part of the team that developed that work but I forwarded your announcement to them. Perhaps there is the opportunity for

Re: [yocto] Review request 0/13: Contribute meta-tensorflow to Yocto

2019-02-22 Thread Khem Raj
On Fri, Feb 22, 2019 at 8:51 AM Stephen Lawrence wrote: > > Hi Hongxu, > > > -Original Message- > > From: yocto-boun...@yoctoproject.org On > > Behalf > > Of Hongxu Jia > > Sent: 21 February 2019 11:37 > > To: richard.pur...@linuxfoundation.org; mhalst...@linuxfoundation.org; > > ross.bu

Re: [yocto] Review request 0/13: Contribute meta-tensorflow to Yocto

2019-02-22 Thread Stephen Lawrence
Hi Hongxu, > -Original Message- > From: yocto-boun...@yoctoproject.org On > Behalf > Of Hongxu Jia > Sent: 21 February 2019 11:37 > To: richard.pur...@linuxfoundation.org; mhalst...@linuxfoundation.org; > ross.bur...@intel.com; raj.k...@gmail.com; paul.eggle...@linux.intel.com; > yocto@y

Re: [yocto] How to Install Third party rpm packages

2019-02-22 Thread Stephen Lawrence
Hi, Take a look at the section 3.2 “Customizing Images” in the Development Tasks Manual. You can find it and the other manuals here: https://www.yoctoproject.org/docs/ If you are building the package in Yocto as well the simplest is to add it to the image with IMAGE_INSTALL, but the manual also

Re: [yocto] How to Install Third party rpm packages

2019-02-22 Thread chaitanya cherukuri
Hi Stephen, Thank you for pointing the documentation. In custom image recipe I will add IMAGE_INSTALL += "custom-package.rpm" but how do I add this "custom-package.rpm" to my YOCTO build system. Do I need to write a recipe where I fetch this package? I apologize for the dumb questions. Thanks, C

Re: [yocto] How to Install Third party rpm packages

2019-02-22 Thread Burton, Ross
On Fri, 22 Feb 2019 at 22:16, chaitanya cherukuri wrote: > Do I need to write a recipe where I fetch this package? Yes, write a recipe that has SRC_URI as the original RPM, then you can write a do_install() to put the files in the right place, package it correctly, and so on. Just using the RPM

Re: [yocto] Review request 0/13: Contribute meta-tensorflow to Yocto

2019-02-22 Thread Hongxu Jia
On 2019/2/23 上午4:49, Manjukumar Harthikote Matha wrote: Hi Hongxu, -Original Message- From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On Behalf Of Stephen Lawrence Sent: Friday, February 22, 2019 8:52 AM To: Hongxu Jia ; richard.pur...@linuxfoundation.org; m