On Fri, Sep 29, 2017 at 10:53 AM, Jun Zhu <[email protected]> wrote: > - Add virtual/libvpu provides for the future VPUs on other SoC.
Please use virtual/imx-vpu as this is not generally used. > - Integrate the bug fixes. > > Signed-off-by: Jun Zhu <[email protected]> > --- > recipes-bsp/imx-vpu/imx-vpu.inc | 6 ++++++ > recipes-bsp/imx-vpu/imx-vpu_5.4.35.bb | 11 ----------- > recipes-bsp/imx-vpu/imx-vpu_5.4.37.bb | 19 +++++++++++++++++++ > 3 files changed, 25 insertions(+), 11 deletions(-) > delete mode 100644 recipes-bsp/imx-vpu/imx-vpu_5.4.35.bb > create mode 100644 recipes-bsp/imx-vpu/imx-vpu_5.4.37.bb > > diff --git a/recipes-bsp/imx-vpu/imx-vpu.inc b/recipes-bsp/imx-vpu/imx-vpu.inc > index dc6c166..af528e8 100644 > --- a/recipes-bsp/imx-vpu/imx-vpu.inc > +++ b/recipes-bsp/imx-vpu/imx-vpu.inc > @@ -1,9 +1,15 @@ > # Copyright (C) 2013-2016 O.S. Systems Software LTDA. > # Copyright (C) 2013 Freescale Semiconductor > +# Copyright 2017 NXP > + > DESCRIPTION = "Freescale VPU library" > LICENSE = "Proprietary" > LIC_FILES_CHKSUM = "file://vpu/EULA.txt;md5=b063366b066c9f10037c59756a9ced54" > DEPENDS = "virtual/kernel" > + > +PROVIDES = "virtual/libvpu" > +RPROVIDES_${PN} = "virtual/libvpu" Not sure rprovides is need here; it is going to choose the VPU library at build time so the runtime dependencies will be added by the build system. > + > inherit fsl-eula-unpack > > PLATFORM_mx6 = "IMX6Q" > diff --git a/recipes-bsp/imx-vpu/imx-vpu_5.4.35.bb > b/recipes-bsp/imx-vpu/imx-vpu_5.4.35.bb > deleted file mode 100644 > index 2ff0036..0000000 > --- a/recipes-bsp/imx-vpu/imx-vpu_5.4.35.bb > +++ /dev/null > @@ -1,11 +0,0 @@ > -# Copyright (C) 2013-2016 Freescale Semiconductor > - > -require imx-vpu.inc > -LIC_FILES_CHKSUM = "file://COPYING;md5=8cf95184c220e247b9917e7244124c5a" > - > -PE = "1" > - > -SRC_URI[md5sum] = "52c1ee80c11d3179715c932f3f3ae890" > -SRC_URI[sha256sum] = > "e1d6550426dfc59e4fd0352f1d312ea7eff5dcf18974f923ed7a85007cb40e27" > - > -COMPATIBLE_MACHINE = "(mx6)" > diff --git a/recipes-bsp/imx-vpu/imx-vpu_5.4.37.bb > b/recipes-bsp/imx-vpu/imx-vpu_5.4.37.bb > new file mode 100644 > index 0000000..ff510e3 > --- /dev/null > +++ b/recipes-bsp/imx-vpu/imx-vpu_5.4.37.bb > @@ -0,0 +1,19 @@ > +# Copyright (C) 2013-2016 Freescale Semiconductor > +# Copyright 2017 NXP > + > +require imx-vpu.inc > +LIC_FILES_CHKSUM = "file://COPYING;md5=6b552f505eedab4a11ab538cf3db743a" > + > +PE = "1" > + > +SRC_URI[md5sum] = "2b8311cb6e5b5813253db706e807d962" > +SRC_URI[sha256sum] = > "ee265e88d17c7369bd9cb917e7cce035b8c7ee2ba4491645fdab9f382f54beb0" > + > +# imx-vpu can only support imx6q platform, in order to build out the vpu > case in unit test, > +# using a workaround to transfer "IMX6Q" on imx6ul & imx7d platform. > +#PLATFORM_mx6ul = "IMX6Q" > +#PLATFORM_mx7 = "IMX6Q" > +#LATFORM_mx6sll = "IMX6Q" > + > +#COMPATIBLE_MACHINE = "(mx6|mx7)" > +COMPATIBLE_MACHINE = "(mx6)" > -- > 2.7.4 > > -- > _______________________________________________ > meta-freescale mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/meta-freescale -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
