diff options
Diffstat (limited to 'meta/files/toolchain-shar-extract.sh')
-rw-r--r-- | meta/files/toolchain-shar-extract.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/files/toolchain-shar-extract.sh b/meta/files/toolchain-shar-extract.sh index dd9342758b..89d30005fd 100644 --- a/meta/files/toolchain-shar-extract.sh +++ b/meta/files/toolchain-shar-extract.sh | |||
@@ -56,7 +56,8 @@ if ! xz -V > /dev/null 2>&1; then | |||
56 | exit 1 | 56 | exit 1 |
57 | fi | 57 | fi |
58 | 58 | ||
59 | DEFAULT_INSTALL_DIR="@SDKPATH@" | 59 | SDK_BUILD_PATH="@SDKPATH@" |
60 | DEFAULT_INSTALL_DIR="@SDKPATHINSTALL@" | ||
60 | SUDO_EXEC="" | 61 | SUDO_EXEC="" |
61 | EXTRA_TAR_OPTIONS="" | 62 | EXTRA_TAR_OPTIONS="" |
62 | target_sdk_dir="" | 63 | target_sdk_dir="" |
@@ -163,7 +164,9 @@ else | |||
163 | fi | 164 | fi |
164 | 165 | ||
165 | # limit the length for target_sdk_dir, ensure the relocation behaviour in relocate_sdk.py has right result. | 166 | # limit the length for target_sdk_dir, ensure the relocation behaviour in relocate_sdk.py has right result. |
166 | if [ ${#target_sdk_dir} -gt 2048 ]; then | 167 | # This is due to ELF interpreter being set to 'a'*1024 in |
168 | # meta/recipes-core/meta/uninative-tarball.bb | ||
169 | if [ ${#target_sdk_dir} -gt 1024 ]; then | ||
167 | echo "Error: The target directory path is too long!!!" | 170 | echo "Error: The target directory path is too long!!!" |
168 | exit 1 | 171 | exit 1 |
169 | fi | 172 | fi |