On 20 October 2014 19:30, <[email protected]> wrote:
> + # Check that our kernel will work for crosssdk
> + if os.uname()[0] == "Linux" and LooseVersion(os.uname()[2]) <
> LooseVersion(d.getVar('OLDEST_KERNEL')):
> + status.addresult("The system requires a kernel of at least %s to
> run\n" % d.getVar('OLDEST_KERNEL'))
> +
The OLDEST_KERNEL documentation says:
Declares the oldest version of the Linux kernel that the
produced binaries must support.
This variable is passed into the build of the Embedded
GNU C Library (<filename>eglibc</filename>).
So surely checking this value at *runtime in bitbake* isn't correct.
Ross
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core