mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 06:49:32 +02:00
adt_installer: allow specifying relative target sysroot paths
If one specifies a relative target sysroot path, then he/she must always be in the same directory in order to be able to compile. With this patch, adt_installer will automatically convert user supplied relative paths to absolute. [YOCTO #4955] (From OE-Core rev: 1abf13cb035fa9e02f0c6a1c6f3524b649d2a701) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b8962edd6b
commit
519a8acdcb
@@ -242,6 +242,8 @@ target_sysroot=`eval echo $target_sysroot_var`
|
||||
|
||||
if [ "$target_sysroot" == "" ]; then
|
||||
return 0
|
||||
else
|
||||
target_sysroot=`readlink -m $target_sysroot`
|
||||
fi
|
||||
|
||||
target_sysroot_image_var="\$YOCTOADT_TARGET_SYSROOT_IMAGE_$1"
|
||||
|
||||
Reference in New Issue
Block a user