<[email protected]> writes:

> Bitbake.conf now specifies OLDEST_KERNEL to insure that the SDK is
> not run on a kernel that is not supported by a component of the SDK
> (i.e. glibc).

OLDEST_KERNEL is used in glibc recipe only; it would be much better
to build SDK's glibc with an --enable-kernel matching the target
distribution.  E.g. by setting a special 'OLDEST_KERNEL_nativesdk'
variable.

> +    # Check that our kernel will work for crosssdk

This check should be made overridable for environments which do not
build SDKs.

> +    if os.uname()[0] == "Linux" and LooseVersion(os.uname()[2]) < 
> LooseVersion(d.getVar('OLDEST_KERNEL')):

This check does not work when you build e.g. in an LXC container.  You
could define something like

| SDK_UNAME ??= "${@' '.join(os.uname())}"

and do the checks on this.


Enrico
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to