When building fsl-image-machine-test for imx28-evk with n00b defaults
using the fsl-community-bsp repo manifest thing, it fails on the old
kernel in meta-fsl-arm/recipes-kernel/linux/linux-imx_2.6.35.3.bb.

There are a few things questionable/wrong here:

1) It uses the build host perl, which is why it fails here and not in
the upstream builder.

2) The dts file for the evk machine in 4.1 mainline looks complete
(along with several other imx28 machines) so why does it default to
such an old kernel?

3) Switching to newer kernel makes gst-fsl-plugins fail with the
"looking for kernel headers from user space" error because it can't
find the old framebuffer header (mxcfb.h).  It should depend on old
fsl kernel only.

4) The old kernel recipe should depend on perl-native.

The attached patch fixes the perl error in the the old kernel build
and the above test image completed fine with it.  Not an "official"
patch per se, just useful if you're stuck...

Steve
diff --git a/kernel/timeconst.pl b/kernel/timeconst.pl
index eb51d76..8915419 100644
--- a/kernel/timeconst.pl
+++ b/kernel/timeconst.pl
@@ -370,7 +370,7 @@ if ($hz eq '--can') {
 	}
 
 	@val = @{$canned_values{$hz}};
-	if (!defined(@val)) {
+	if !(@val) {
 		@val = compute_values($hz);
 	}
 	output($hz, @val);
-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to