[meta-freescale] [meta-fsl-arm][for-danny][PATCH] fsl-mm-flv-codeclib: fix package creation

Javier Viguera javier.viguera at digi.com
Tue Jan 8 03:38:29 PST 2013


On 01/08/2013 11:25 AM, Daiane Angolini wrote:
> Could you, please, apply it to master in order to make sure it's
> applicable? I will test it on master.
> 
> How do you test this package?

Hi Daiane,

Yes the patch applies to master as well without problems.

About the testing. I have not tested it at run time yet. We plan to
use it with gst-fsl plugin. At build time the package is not compiled
because it's not a dependence of anything (for a 'imx53qsb' configured
project). But you can build the recipe with bitbake:

$ bitbake fsl-mm-flv-codeclib

You can see then, that the normal package is not created (it only
creates the -dev and -dbg packages):

$ ls -l tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/fsl-mm-flv-codeclib-2.0.3-r1/deploy-ipks/armv7a-vfp-neon/
   792 Jan  8 12:15 fsl-mm-flv-codeclib-dbg_2.0.3-r1_armv7a-vfp-neon.ipk
 54578 Jan  8 12:15 fsl-mm-flv-codeclib-dev_2.0.3-r1_armv7a-vfp-neon.ipk

Looking at the log we see the reason. There are no files to be added
to the package and that's why it's not created.

$ less tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/fsl-mm-flv-codeclib-2.0.3-r1/temp/log.do_package_write_ipk
...
NOTE: Not creating empty archive for fsl-mm-flv-codeclib-2.0.3-r1
...

And there are no files because the name of the library files in the
source package does not follow the naming rule the bitbake recipe
expects in the 'do_install' function and in the FILES variable.


-- 
Javier Viguera
Software Engineer
Digi International® Spain S.A.U.



More information about the meta-freescale mailing list