Bug 5180 - External toolchain path should accept relative paths
Summary: External toolchain path should accept relative paths
Status: RESOLVED WORKSFORME
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 enhancement
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-05 14:44 UTC by Floris Bos
Modified: 2013-05-26 08:51 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
Patch for supporting relative toolchain path (487 bytes, patch)
2012-05-05 14:44 UTC, Floris Bos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Floris Bos 2012-05-05 14:44:22 UTC
Created attachment 4334 [details]
Patch for supporting relative toolchain path

It would be nice if it was possible to enter paths relative to the buildroot directory for things like the external toolchain path.
So one could create an archive of toolchain+buildroot+.config file, transfer that to a different computer, and have "make" just work without having to change settings.
Comment 1 Thomas Petazzoni 2013-05-26 08:51:00 UTC
This is something you can already do today:

BR2_TOOLCHAIN_EXTERNAL_PATH="$(TOPDIR)/../../x-tools/linaro-2012.09/"

Just tested, it works.

I'm marking this bug as "works for me", but if you believe the proposed solution is not appropriate, do not hesitate to re-open the bug and add more details.