[yocto] include and a library dependency in a recipe which uses a Makefile

2017-12-01 Thread Rail Shafigulin
Somewhat new to Yocto. I have a relatively simple Makefile which builds a library. The file is shown below: LIB=PyAnokiWave It is shown below # Add any other object files to this list below LIB_OBJS = libPyAnokiWave.o LIB_HEADERS=libPyAnokiWave.h CFLAGS+=-I/usr/include/python2.7 LDFLAGS+=-lpyth

Re: [yocto] dev package non-sym link

2017-12-01 Thread Rail Shafigulin
On Fri, Dec 1, 2017 at 12:12 AM, Alexander Kanavin wrote: > On 11/30/2017 11:46 PM, Rail Shafigulin wrote: >> >> do_install () { >>install -d ${D}${libdir}/ >>install -m 0755 ${S}/libAnokiWave.so.1.0.1 ${D}${libdir} >>ln -s ${D}${libdir}/libAnokiWave.so.1.0.1 >> ${D}${libdir}/libAnokiw

Re: [yocto] [meta-raspberrypi][PATCH] rpi-config: Setup lcd_rotate for Raspberry Pi display

2017-12-01 Thread Andrei Gherzan
On Thu, Nov 30, 2017 at 5:43 PM, Paul Barker wrote: > On Thu, Nov 30, 2017 at 5:16 PM, Paul Barker > wrote: > > On Wed, Nov 29, 2017 at 10:20 PM, wrote: > >> From: Drew Moseley > >> > >> Signed-off-by: Drew Moseley > >> --- > >> docs/extra-build-config.md | 6 ++ > >> recip

Re: [yocto] how to know Poky kernel version before running it

2017-12-01 Thread Vincent Prince
Something like following command will give you every variables for kernel recipe: bitbake -e virtual/kernel | egrep '^[A-Z][A-Z_]*' You will find prefered version and source url variables. 2017-12-01 18:11 GMT+01:00 Steve Pavao : > Is there a definitive way to know at/after build time what kern

[yocto] how to know Poky kernel version before running it

2017-12-01 Thread Steve Pavao
Is there a definitive way to know at/after build time what kernel version is being built via a particular bitbake of Poky? I don’t have the board on hand to boot the result of my work right now; it is a scout build for a board I’m getting soon. I’m trying to figure it out by browsing the consol

Re: [yocto] Yocto SDK: how to deploy application with step "make install" to target?

2017-12-01 Thread Jerry Lian
OK, that is what confused me: I DID try "make modules_install" on host! So according to what you said, the right procedure is: * do "make install"on host, then copy to target: * don't do "make modules_install" on host, but make a package first, then copy to target and inst

Re: [yocto] Yocto SDK: how to deploy application with step "make install" to target?

2017-12-01 Thread Eric Schwarz
Am 01.12.2017 16:58, schrieb Jerry Lian: Thanks Eric again. * So you mean "copy -Rfa" can match folder-by-folder, so long as the folder-tree are the same? (if yes, that is super great!!!) Yes. * I check that "make install" copy files to one folder, so that is easy for deployment! Another

Re: [yocto] Yocto SDK: how to deploy application with step "make install" to target?

2017-12-01 Thread Jerry Lian
Thanks Eric again. * So you mean "copy -Rfa" can match folder-by-folder, so long as the folder-tree are the same? (if yes, that is super great!!!) * I check that "make install" copy files to one folder, so that is easy for deployment! Another question: * My application actually has

Re: [yocto] Yocto SDK: how to deploy application with step "make install" to target?

2017-12-01 Thread Eric Schwarz
Am 01.12.2017 16:15, schrieb Jerry Lian: Thanks Eric for your explanation! * (I know I can build the app within yocto build, but sometimes I prefer the SDK method outside yocto build.) * So just copy manually? I thought there are some tricks that I don't know. Acutally that's how we are

Re: [yocto] Yocto SDK: how to deploy application with step "make install" to target?

2017-12-01 Thread Jerry Lian
Thanks Eric for your explanation! * (I know I can build the app within yocto build, but sometimes I prefer the SDK method outside yocto build.) * So just copy manually? I thought there are some tricks that I don't know. Now I have follow-up question: * It seems that "make install" will copy diffe

Re: [yocto] Yocto SDK: how to deploy application with step "make install" to target?

2017-12-01 Thread Eric Schwarz
Am 01.12.2017 15:16, schrieb Eric Schwarz: Hi Jerry, Am 01.12.2017 15:07, schrieb Jerry Lian: I am new to embedded linux, and some concepts confuse me: * I have downloaded an Autotools-based application to run on my board. * If I boot the board with original image/original SDK, I normally bu

Re: [yocto] Yocto SDK: how to deploy application with step "make install" to target?

2017-12-01 Thread Eric Schwarz
Hi Jerry, Am 01.12.2017 15:07, schrieb Jerry Lian: I am new to embedded linux, and some concepts confuse me: * I have downloaded an Autotools-based application to run on my board. * If I boot the board with original image/original SDK, I normally build/install it with steps: - ./bootstrap

[yocto] Yocto SDK: how to deploy application with step "make install" to target?

2017-12-01 Thread Jerry Lian
I am new to embedded linux, and some concepts confuse me: * I have downloaded an Autotools-based application to run on my board. * If I boot the board with original image/original SDK, I normally build/install it with steps: - ./bootstrap - ./configure - make - make install * Now if

Re: [yocto] dev package non-sym link

2017-12-01 Thread Alexander Kanavin
On 11/30/2017 11:46 PM, Rail Shafigulin wrote: do_install () { install -d ${D}${libdir}/ install -m 0755 ${S}/libAnokiWave.so.1.0.1 ${D}${libdir} ln -s ${D}${libdir}/libAnokiWave.so.1.0.1 ${D}${libdir}/libAnokiwave.so.1 ln -s ${D}${libdir}/libAnokiWave.so.1 ${D}${libdir}/libAnokiwave.