aboutsummaryrefslogtreecommitdiff
path: root/config/global/paths.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/global/paths.in')
-rw-r--r--config/global/paths.in28
1 files changed, 28 insertions, 0 deletions
diff --git a/config/global/paths.in b/config/global/paths.in
index 82ee4b39..e4cf7024 100644
--- a/config/global/paths.in
+++ b/config/global/paths.in
@@ -137,3 +137,31 @@ config STRIP_TARGET_TOOLCHAIN_EXECUTABLES
An install-strip make target is provided that installs stripped
executables, and may install libraries with unneeded or debugging
sections stripped.
+
+config TARBALL_RESULT
+ bool
+ depends on EXPERIMENTAL
+ prompt "Create binary toolchain tarball"
+ default n
+ help
+ Create tarball of the final binary toolchain.
+
+if TARBALL_RESULT
+
+config TARBALL_RESULT_DIR
+ string
+ depends on TARBALL_RESULT
+ prompt "Output directory"
+ default "${CT_TOP_DIR}"
+ help
+ Directory where tarball will be created.
+
+config TARBALL_RESULT_FILENAME
+ string
+ depends on TARBALL_RESULT
+ prompt "Output filename"
+ default "toolchain${CT_TOOLCHAIN_PKGVERSION:+-${CT_TOOLCHAIN_PKGVERSION}}-${CT_HOST:+HOST-${CT_HOST}-}${CT_TARGET}"
+ help
+ Filename for toolchain tarball, without extension.
+
+endif