[oe] [meta-oe/denzil][PATCH 3/6] media-ctl: update to latest git

James angweiyang at gmail.com
Wed May 9 04:00:28 UTC 2012


Hi Koen,

On Wed, May 2, 2012 at 5:45 PM, Koen Kooi <koen at dominion.thruhere.net> wrote:
> * split out libs
> * media-ctl has been relicensed to LGPLv2.1+
>
> Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
> ---
>  meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb |   12 ++++++++----
>  1 file changed, 8 insertions(+), 4 deletions(-)
>
> diff --git a/meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb b/meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb
> index 99ec8e2..76d811b 100644
> --- a/meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb
> +++ b/meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb
> @@ -1,16 +1,20 @@
>  DESCRIPTION = "Media controller control application"
> -LICENSE = "GPLv2"
> -LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
> +LICENSE = "LGPLv2+"
> +LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=d749e86a105281d7a44c2328acebc4b0"
>
>  SRC_URI = "git://git.ideasonboard.org/media-ctl.git;protocol=git"
> -SRCREV = "a183835abdefb8e40650fc9eb22e2d291aac9883"
> +SRCREV = "46bec667b675573cf1ce698c68112e3dbd31930e"
>
>  PV = "0.0.1"
> +PR = "r1"
>  S = "${WORKDIR}/git"
>
>  inherit autotools
>
> -# It needs some kernel definitions for v4l2, so it isn't machine specific
> +# It needs some kernel definitions only for v4l2, so it isn't machine specific
>  EXTRA_OECONF = "--with-kernel-headers=${STAGING_KERNEL_DIR}"
>
> +PACKAGES =+ "libmediactl libv4l2subdev"
> +FILES_libmediactl = "${libdir}/libmediactl${SOLIBS}"
> +FILES_libv4l2subdev = "${libdir}/libv4l2subdev${SOLIBS}"
>
> --
> 1.7.10
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

I tried using this new recipe on OE-classic and bitbake v1.12 but the
do_configure failed.

A look into the configure.log shows
..
checking linux/media.h usability ... no
checking linux/media.h presence ... no
checking for linux/media.h ... no
ERROR: Kernel header file not found or not usable!
...

This is due to ${STAGING_KERNEL_DIR} pointing to an invalid location.
It's pointing to /sysroots/armv7a-angstrom-linux-gnueabi/kernel
instead it is located in /sysroots/${MACHINE}-angstrom-linux-gnueabi/kernel

Change you please relook into this?

Thank you.
-- 
Regards,
James Ang




More information about the Openembedded-devel mailing list