Re: [yocto] how to configure the build packages of a makefile based libary

2016-04-28 Thread Burton, Ross
On 28 April 2016 at 17:09, wrote: > EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} > -I${S}/include' 'BUILDDIR=${S}' 'DESTDIR=${D}'" > Neater to pass DESTDIR via do_install, so remove DESTDIR from here. However you want to tell it where PREFIX is, and that goes into

Re: [yocto] how to configure the build packages of a makefile based libary

2016-04-28 Thread Burton, Ross
On 28 April 2016 at 16:25, Fred Ollinger wrote: > FILES_${PN} += "/usr/local" > Please don't do this unless that's actually what you want - nothing else in the image will be using those paths so eg libraries in there might not be found. Ross -- ___ y

Re: [yocto] how to configure the build packages of a makefile based libary

2016-04-28 Thread Fred Ollinger
5:44 AM To: s.jar...@esa-grimma.de Cc: yocto@yoctoproject.org Subject: Re: [yocto] how to configure the build packages of a makefile based libary On 28 April 2016 at 13:09, mailto:s.jar...@esa-grimma.de>> wrote: ERROR: QA Issue: libhiredis: Files/directories were installed but not shipped

Re: [yocto] how to configure the build packages of a makefile based libary

2016-04-28 Thread Burton, Ross
On 28 April 2016 at 13:09, wrote: > ERROR: QA Issue: libhiredis: Files/directories were installed but not > shipped in any package: > /usr/local > It either hard-codes /usr/local as the prefix, or if it respects a prefix variable you should also pass in ${prefix} ${libdir} ${includedir} and so

Re: [yocto] how to configure the build packages of a makefile based libary

2016-04-28 Thread S . Jaritz
d recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Von: "Burton, Ross" An: s.jar...@esa-grimma.de Kopie:

Re: [yocto] how to configure the build packages of a makefile based libary

2016-04-28 Thread Burton, Ross
On 28 April 2016 at 10:50, wrote: > I like to include the hiredis library. I created a recipe and modified the > EXTRA_OEMAKE. The compilation works (in the git directory object, "so" and > "a" files are generated). But the generated files are not placed into > packages. > > Any ideas? > You nee

Re: [yocto] how to configure the build packages of a makefile based libary

2016-04-28 Thread SIVA SUBRAMANIAN.P
If bins/libs are installed in non standard paths other than usr/bin or /usr/lib in image directory, then you need to add them explicitly in your recipe like FILES_${PN} += "/lib/lib.so" On Thu, Apr 28, 2016 at 3:20 PM, wrote: > Hej > > I like to include the hiredis library. I created a reci

[yocto] how to configure the build packages of a makefile based libary

2016-04-28 Thread S . Jaritz
Hej I like to include the hiredis library. I created a recipe and modified the EXTRA_OEMAKE. The compilation works (in the git directory object, "so" and "a" files are generated). But the generated files are not placed into packages. Any ideas? below there is the "libhiredis.bb" file: ###