mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
toolchain-shar-extract.sh: better default install path for extensible SDK
Extensible SDK cannot be installed as root so by default offer to install it in user's home directory under distro/distro_version replacing the normal SDK version '+' char with a '_' as that's a restricted character for bitbake (From OE-Core rev: 5486e76cd8abb946b81cff78719d67cfb87cddc6) Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f5f9185344
commit
08d07355c5
@@ -55,6 +55,7 @@ SDK_PRE_INSTALL_COMMAND ?= ""
|
||||
SDK_POST_INSTALL_COMMAND ?= ""
|
||||
SDK_RELOCATE_AFTER_INSTALL ?= "1"
|
||||
|
||||
SDKEXTPATH ?= "~/${@d.getVar('DISTRO', True)}_sdk"
|
||||
SDK_TITLE ?= "${@d.getVar('DISTRO_NAME', True) or d.getVar('DISTRO', True)} SDK"
|
||||
|
||||
SDK_TARGET_MANIFEST = "${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.target.manifest"
|
||||
@@ -154,6 +155,7 @@ EOF
|
||||
# substitute variables
|
||||
sed -i -e 's#@SDK_ARCH@#${SDK_ARCH}#g' \
|
||||
-e 's#@SDKPATH@#${SDKPATH}#g' \
|
||||
-e 's#@SDKEXTPATH@#${SDKEXTPATH}#g' \
|
||||
-e 's#@OLDEST_KERNEL@#${OLDEST_KERNEL}#g' \
|
||||
-e 's#@REAL_MULTIMACH_TARGET_SYS@#${REAL_MULTIMACH_TARGET_SYS}#g' \
|
||||
-e 's#@SDK_TITLE@#${SDK_TITLE}#g' \
|
||||
|
||||
Reference in New Issue
Block a user