Bug 4955

Summary: [adt_installer] Allow relative paths for specifying sysroot location
Product: [Yocto Project Subprojects] ADT Reporter: Ioana Grigoropol <ioanax.grigoropol>
Component: adtAssignee: Laurentiu Palcu <laurentiu.palcu>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, poky.adt.watcher, poky.watcher
Version: unspecified   
Target Milestone: 1.5 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

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.