Re: [yocto] Building test code?

2021-03-17 Thread jchludzinski via lists.yoctoproject.org
There are 2 git repos: _openembedded-core_ and _meta-openembedded._ _openembedded-core_ has _oe-init-build-env_ to create the build environment. _meta-openembedded_ has the recipe for _spidev-test_ If I use _oe-init-build-env_ from _openembedded-core_ to create the env vars then try: $

Re: [yocto] Building test code?

2021-03-16 Thread Robert P. J. Day
On Tue, 16 Mar 2021, jchludzinski via lists.yoctoproject.org wrote: > I tried to build spidev-test using the bitbake recipe:  > > spidev-test.bb >   > I set: > ARCH=arm > BBPATH > CROSS_COMPILER=arm-linux-gnueabihf- > PATH > > ... and then tried to build spidev-test: > > $ bitbake -b

Re: [yocto] Building test code?

2021-03-16 Thread jchludzinski via lists.yoctoproject.org
I tried to build spidev-test using the bitbake recipe: spidev-test.bb I set: ARCH=arm BBPATH CROSS_COMPILER=arm-linux-gnueabihf- PATH ... and then tried to build spidev-test: $ bitbake -b spidev-test.bb WARNING: Buildfile specified, dependencies will not be handled. If this is not

Re: [yocto] Building test code?

2021-03-16 Thread jchludzinski via lists.yoctoproject.org
I'm 'bitbaking' now. On 2021-03-16 10:53, jchludzinski via lists.yoctoproject.org wrote: Well, because time is of the essence, could you give me a little assist here and explain how I might build spidev-test using OpenEmbedded? THANKS for your help! ---John On 2021-03-16 05:58, Josef

Re: [yocto] Building test code?

2021-03-16 Thread jchludzinski via lists.yoctoproject.org
Well, because time is of the essence, could you give me a little assist here and explain how I might build spidev-test using OpenEmbedded? THANKS for your help! ---John On 2021-03-16 05:58, Josef Holzmayr wrote: Am Di., 16. März 2021 um 10:49 Uhr schrieb Nicolas Dechesne : On Tue, Mar 16,

Re: [yocto] Building test code?

2021-03-16 Thread Josef Holzmayr
Am Di., 16. März 2021 um 10:49 Uhr schrieb Nicolas Dechesne : > > On Tue, Mar 16, 2021 at 8:07 AM jchludzinski via > lists.yoctoproject.org > wrote: > > > > It certainly appears to be BUT I'm not certain what I'm looking at? > > > > What is meta-openembedded? > > > > Is it a GIT repo that can be

Re: [yocto] Building test code?

2021-03-16 Thread Nicolas Dechesne
On Tue, Mar 16, 2021 at 8:07 AM jchludzinski via lists.yoctoproject.org wrote: > > It certainly appears to be BUT I'm not certain what I'm looking at? > > What is meta-openembedded? > > Is it a GIT repo that can be cloned and built? Short answer is yes. The whole Yocto Project / Open Embedded

Re: [yocto] Building test code?

2021-03-16 Thread jchludzinski via lists.yoctoproject.org
It certainly appears to be BUT I'm not certain what I'm looking at? What is _meta-openembedded_? Is it a GIT repo that can be cloned and built? How do I use this to build _spidev-test_? ---John On 2021-03-15 19:54, akuster wrote: On 3/15/21 4:11 PM, jchludzinski via

Re: [yocto] Building test code?

2021-03-15 Thread akuster
On 3/15/21 4:11 PM, jchludzinski via lists.yoctoproject.org wrote: > I got a piece of code from github: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/spi/spidev_test.c > > I'd like to add it somewhere under /*tools/testing*/ and build it there. > > Not sure if

[yocto] Building test code?

2021-03-15 Thread jchludzinski via lists.yoctoproject.org
I got a piece of code from github: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/spi/spidev_test.c I'd like to add it somewhere under _tools/testing_ and build it there. Not sure if this is appropriate? If so, how do I go about this? If not, what's the best