diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-16 16:24:29 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-17 13:43:39 +0000 |
commit | 508509d150e375ed5701190ec4bb1259709b576c (patch) | |
tree | 7c1790e516dde719238466bf9122f5af38160ce7 /meta/classes/populate_sdk_base.bbclass | |
parent | d8d5feee2ab48ea15112242a7f5bf79a1fcfb2e9 (diff) | |
download | poky-508509d150e375ed5701190ec4bb1259709b576c.tar.gz |
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]
(From OE-Core rev: b4caa8085aa15674162ff5135b13409998db9510)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_base.bbclass')
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 1 |
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 | |||
126 | # substitute variables | 126 | # substitute variables |
127 | sed -i -e 's#@SDK_ARCH@#${SDK_ARCH}#g' \ | 127 | sed -i -e 's#@SDK_ARCH@#${SDK_ARCH}#g' \ |
128 | -e 's#@SDKPATH@#${SDKPATH}#g' \ | 128 | -e 's#@SDKPATH@#${SDKPATH}#g' \ |
129 | -e 's#@OLDEST_KERNEL@#${OLDEST_KERNEL}#g' \ | ||
129 | -e 's#@REAL_MULTIMACH_TARGET_SYS@#${REAL_MULTIMACH_TARGET_SYS}#g' \ | 130 | -e 's#@REAL_MULTIMACH_TARGET_SYS@#${REAL_MULTIMACH_TARGET_SYS}#g' \ |
130 | -e '/@SDK_POST_INSTALL_COMMAND@/d' \ | 131 | -e '/@SDK_POST_INSTALL_COMMAND@/d' \ |
131 | ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.sh | 132 | ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.sh |