Re: [OE-core] Fwd: Recipe [patch] modification to generate a static library instead of shared library

2017-04-08 Thread Ravi chandra reddy
Hi Andrea, gr8, Thanks for this information. i wasnt' aware someone did create a libiio in yocto. anyways, i reached my goal using other means of cross compiling individual libraries and building libiio finally. it was a pain, but i learnt a lot in between. Thanks RC On Thu, Apr 6

[OE-core] [PATCH v2] kernel-arch.bbclass: conditional error message

2017-04-08 Thread Juro Bystricky
The single purpose of "map_kernel_arch" is to set export ARCH = "some-arch" The case when "some-arch" is not a valid Linux architecture results in an error. This makes sense if the TARGET_OS is Linux, but that is not always the case. kernel-arch is also inherited by toolchain-script, which may

[OE-core] [PATCH V6 1/2] image.bbclass: remove initramfs bundle related code

2017-04-08 Thread liu . ming50
From: Ming Liu The original purpose of these code was to repackage initramfs bundled kernel before image do_build, but it does not really work because the initramfs bundled kernel images are not packaged at all after commit a49569e3a7534779bbe3f01a0647fd076c95798d: [ kernel.bbclass: do not copy b

[OE-core] [PATCH V6 2/2] kernel-initramfs: add recipe

2017-04-08 Thread liu . ming50
From: Ming Liu To implement initramfs bundled kernel packaging. The kernel images are copied from DEPLOY_DIR_IMAGE, and a list of packages will be generated according to KERNEL_IMAGETYPES setting. For instance: For KERNEL_IMAGETYPES = "bzImage vmlinux" the generated packages would be: - kernel

[OE-core] [PATCH V6 0/2] Fix some issues of kernel/image recipes (initramfs bundled kernel packaging)

2017-04-08 Thread liu . ming50
From: Ming Liu Changes in patch set V6: 1 Change "d.getVar('KERNEL_PRIORITY')" > "d.getVar('KERNEL_PRIORITY', False)" to avoid running into a "basehash value changed" error, which is caused by KERNEL_VERSION is extracted from kernel headers at run time. Ming Liu (2): image.bbclass: remove

Re: [OE-core] [PATCH 6/8] runqemu: do not rely on grepping images

2017-04-08 Thread Richard Purdie
On Fri, 2017-04-07 at 02:47 -0700, Robert Yang wrote: > Fixed when the image is large and not enough memory: >   grep: memory exhausted >   Aborted > > [YOCTO #11073] > > Signed-off-by: Robert Yang > --- >  meta/classes/qemuboot.bbclass |  3 +++ >  scripts/runqemu   | 19 +++-

Re: [OE-core] [PATCH 5/5] yocto-compat-layer: test signature differences when setting MACHINE

2017-04-08 Thread Patrick Ohly
On Fri, 2017-04-07 at 18:38 +0200, Patrick Ohly wrote: > +parser.add_argument('--additional-layers', nargs="+", > +help='List of additional layers to add during testing', > action='store') > parser.add_argument('-n', '--no-auto', help='Disable auto layer > discovery', >

Re: [OE-core] [PATCH 0/4] Use fixed DISTRO_FEATURES for native

2017-04-08 Thread Richard Purdie
On Fri, 2017-04-07 at 22:47 +0100, Richard Purdie wrote: > On Fri, 2017-04-07 at 09:08 +0300, Jussi Kukkonen wrote: > > > > Avoid signifant native task churn when DISTRO_FEATURES is changed > > by defining a fixed DISTRO_FEATURES value (default is "") for > > native > > recipes. > > > > The xorg