diff options
author | David Holsgrove <david.holsgrove@xilinx.com> | 2012-10-04 13:26:14 +1000 |
---|---|---|
committer | David Holsgrove <david.holsgrove@xilinx.com> | 2012-10-04 13:26:14 +1000 |
commit | f242016a0921f3aeac885b3332acd14fdaf14af1 (patch) | |
tree | 08deb3091395df472d9ed3d0080cd7f875f23b9a /config | |
parent | dad17e6e88ba54c89e9714f35aa72b400ebd9ea5 (diff) | |
download | crosstool-ng-f242016a0921f3aeac885b3332acd14fdaf14af1.tar.gz crosstool-ng-f242016a0921f3aeac885b3332acd14fdaf14af1.tar.bz2 crosstool-ng-f242016a0921f3aeac885b3332acd14fdaf14af1.zip |
scripts/functions: add a generic custom location infrastructure
Add a generic custom location infrastructure (inspired by the one in
kernel/linux) to allow the user to use custom tarballs or directories
for any component.
Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: move config option, improve help text, fix API doc]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <131c163c69f9cc81d2be.1349931191@localhost.localdomain>
PatchWork-Id: 190784
Message-Id: <0bbaba9190a76ba97f72.1349931192@localhost.localdomain>
PatchWork-Id: 190785
Diffstat (limited to 'config')
-rw-r--r-- | config/global/paths.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/global/paths.in b/config/global/paths.in index ed26dfc8..c4d0593e 100644 --- a/config/global/paths.in +++ b/config/global/paths.in @@ -19,6 +19,15 @@ config SAVE_TARBALLS If you say 'y' here, new downloaded tarballs will be saved in the directory you entered above. +config CUSTOM_LOCATION_ROOT_DIR + string + depends on EXPERIMENTAL + prompt "Directory containing custom source components" + help + This is the path CT-NG will attempt to use as a root for locating + local copies of source components (CUSTOM_LOCATION_ROOT_DIR/component) + unless a component declares its own specific custom location. + config WORK_DIR string prompt "Working directory" if ! BACKEND |