diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2013-07-30 17:40:48 +0300 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2013-08-01 21:57:53 -0700 |
commit | 1abf13cb035fa9e02f0c6a1c6f3524b649d2a701 (patch) | |
tree | cbf3f27f590456fb6617dad85a5f58413b98e803 /meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal | |
parent | 18e4d014bea3a5748f42e6dac648fa9b02230344 (diff) | |
download | openembedded-core-1abf13cb035fa9e02f0c6a1c6f3524b649d2a701.tar.gz |
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]
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal')
-rwxr-xr-x | meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal index 7931ff5cd9..462199c563 100755 --- a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal +++ b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal @@ -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" |