diff options
author | Ioan-Adrian Ratiu <adrian.ratiu@ni.com> | 2016-09-27 17:40:11 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-28 10:16:04 +0100 |
commit | 93d4250c2b2b2b200579d9b81a56c3dac467b10d (patch) | |
tree | 8aca4ead0a3f66527257a70de1bedc27ec5489af /meta | |
parent | 46c5e7adb8a0ddafa65cf6c138b9ae02d0426b7a (diff) | |
download | poky-93d4250c2b2b2b200579d9b81a56c3dac467b10d.tar.gz |
populate_sdk_base.bbclass: fix broken variables
This function never worked because the SDK_OUTPUT and SDKPATH vars are
written bash-style in a python function. The only reason it never failed
a build is because the function bails out the start because of the flag
CHECK_SDK_SYSROOTS.
And I guess nobody tested with CHECK_SDK_SYSROOTS enabled until now.
(From OE-Core rev: 9f60dfdaaa74b90ebcfcdd9f3817c62a56243e92)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index ce12f275bb..a23775e6c5 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass | |||
@@ -147,7 +147,8 @@ python check_sdk_sysroots() { | |||
147 | return os.path.abspath(path) | 147 | return os.path.abspath(path) |
148 | 148 | ||
149 | # Get scan root | 149 | # Get scan root |
150 | SCAN_ROOT = norm_path("${SDK_OUTPUT}/${SDKPATH}/sysroots/") | 150 | SCAN_ROOT = norm_path("%s/%s/sysroots/" % (d.getVar('SDK_OUTPUT', True), |
151 | d.getVar('SDKPATH', True))) | ||
151 | 152 | ||
152 | bb.note('Checking SDK sysroots at ' + SCAN_ROOT) | 153 | bb.note('Checking SDK sysroots at ' + SCAN_ROOT) |
153 | 154 | ||