Bug 4955 - [adt_installer] Allow relative paths for specifying sysroot location
Summary: [adt_installer] Allow relative paths for specifying sysroot location
Status: RESOLVED FIXED
Alias: None
Product: ADT
Classification: Yocto Project Subprojects
Component: adt (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.5 M3
Assignee: Laurentiu Palcu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-07-30 11:44 UTC by Ioana Grigoropol
Modified: 2013-08-06 07:54 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ioana Grigoropol 2013-07-30 11:44:37 UTC
When configuring adt_installer, the YOCTOADT_TARGET_SYSROOT_LOC_* variable can be set to either absolute or relative location. 
After installing the ADT toolchain & sysroot and sourcing the environment, compilation will only work if run from under the adt installation directory.
The CC var will look like this:

CC="x86_64-poky-linux-gcc  -m64 --sysroot=./test-yocto/x86_64/"
Comment 1 Laurentiu Palcu 2013-07-30 14:41:19 UTC
Patch sent on the ML for review.