Patchwork [meta-multimedia] libdc1394: disable building examples

login
register
mail settings
Submitter Trevor Woerner
Date April 8, 2014, 5:24 p.m.
Message ID <1396977887-26644-2-git-send-email-trevor.woerner@linaro.org>
Download mbox | patch
Permalink /patch/70303/
State Accepted, archived
Headers show

Comments

Trevor Woerner - April 8, 2014, 5:24 p.m.
Building the examples suffers from host contamination and therefore does not
succeed.

	| arm-oe-linux-gnueabi-libtool: link: arm-oe-linux-gnueabi-gcc -march=armv5te
		-marm -mthumb-interwork --sysroot=...
		-I/usr/include/SDL ...
		-lrt -L/usr/lib64 ...
	| /SSD/build/distroless/tmp/qemuarm-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.8.2/ld:
		warning: library search path "/usr/lib64" is unsafe for cross-compilation
	| /usr/lib64/librt.so: file not recognized: File format not recognized

Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>
---
 meta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Martin Jansa - April 20, 2014, 11:30 a.m.
On Tue, Apr 08, 2014 at 01:24:47PM -0400, Trevor Woerner wrote:
> Building the examples suffers from host contamination and therefore does not
> succeed.

Merged, thanks!

> 
> 	| arm-oe-linux-gnueabi-libtool: link: arm-oe-linux-gnueabi-gcc -march=armv5te
> 		-marm -mthumb-interwork --sysroot=...
> 		-I/usr/include/SDL ...
> 		-lrt -L/usr/lib64 ...
> 	| /SSD/build/distroless/tmp/qemuarm-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.8.2/ld:
> 		warning: library search path "/usr/lib64" is unsafe for cross-compilation
> 	| /usr/lib64/librt.so: file not recognized: File format not recognized
> 
> Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>
> ---
>  meta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb b/meta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb
> index 7c6d2ab..5bc77f2 100755
> --- a/meta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb
> +++ b/meta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb
> @@ -19,4 +19,4 @@ S = "${WORKDIR}/git/${PN}"
>  
>  inherit autotools pkgconfig
>  
> -EXTRA_OECONF += "--disable-doxygen-doc"
> +EXTRA_OECONF += "--disable-doxygen-doc --disable-examples"
> -- 
> 1.9.0
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb b/meta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb
index 7c6d2ab..5bc77f2 100755
--- a/meta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb
+++ b/meta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb
@@ -19,4 +19,4 @@  S = "${WORKDIR}/git/${PN}"
 
 inherit autotools pkgconfig
 
-EXTRA_OECONF += "--disable-doxygen-doc"
+EXTRA_OECONF += "--disable-doxygen-doc --disable-examples"