Bug 10561

Summary: SDK_OLDEST_KERNEL does not influence nativesdk-glibc
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: devtools / tool chainAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher, ross.burton
Version: 2.2   
Target Milestone: 2.3 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Paul Eggleton 2016-10-31 21:51:02 UTC
OLDEST_KERNEL is passed into the glibc build in order to tune it for a particular minimum Linux kernel version. SDK_OLDEST_KERNEL is the equivalent variable for the SDK, but at the moment all that SDK_OLDEST_KERNEL does is influence a check at SDK installation time. In order to allow people to build the SDK for distributions that have older kernels, we need to ensure that OLDEST_KERNEL gets set to the value of SDK_OLDEST_KERNEL in the nativesdk namespace, i.e. by adding OLDEST_KERNEL = "${SDK_OLDEST_KERNEL}" in nativesdk.bbclass.
Comment 1 Paul Eggleton 2016-11-01 03:25:29 UTC
I imagine we may want to backport this to morty.
Comment 2 Ross Burton 2016-11-08 17:26:59 UTC
Fixed in master with oe-core 42d5781e31c5bf76b5b7e27abed4f6f3fd65bf40.