summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-16 16:24:29 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-17 13:42:21 +0000
commitb4caa8085aa15674162ff5135b13409998db9510 (patch)
tree95a52b1621968458a03538a98f27f0d0f908c614 /meta/classes
parentef41f4b91d65f87850edd6cc56ca37d2ecb56378 (diff)
downloadopenembedded-core-b4caa8085aa15674162ff5135b13409998db9510.tar.gz
openembedded-core-b4caa8085aa15674162ff5135b13409998db9510.tar.bz2
openembedded-core-b4caa8085aa15674162ff5135b13409998db9510.zip
populate_sdk: Handle OLDEST_KERNEL
Add a check to the SDK so that it only runs on systems with kernel versions it supports. [YOCTO #6856] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/populate_sdk_base.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
index 8b7e9ea8dd..e3adacb2c9 100644
--- a/meta/classes/populate_sdk_base.bbclass
+++ b/meta/classes/populate_sdk_base.bbclass
@@ -126,6 +126,7 @@ EOF
# substitute variables
sed -i -e 's#@SDK_ARCH@#${SDK_ARCH}#g' \
-e 's#@SDKPATH@#${SDKPATH}#g' \
+ -e 's#@OLDEST_KERNEL@#${OLDEST_KERNEL}#g' \
-e 's#@REAL_MULTIMACH_TARGET_SYS@#${REAL_MULTIMACH_TARGET_SYS}#g' \
-e '/@SDK_POST_INSTALL_COMMAND@/d' \
${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.sh