diff options
author | Alexey Neyman <stilor@att.net> | 2016-12-13 22:18:50 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-01-19 18:08:29 -0800 |
commit | c0cc73cd6f3040ea08dc09384aa289540b3fb2a2 (patch) | |
tree | 415dbea164535bf79bea8414a8548b23430e49e9 /scripts/showConfig.sh.in | |
parent | dc3f68c8a5501fd745d079d724da389ea05566f8 (diff) | |
download | crosstool-ng-c0cc73cd6f3040ea08dc09384aa289540b3fb2a2.tar.gz crosstool-ng-c0cc73cd6f3040ea08dc09384aa289540b3fb2a2.tar.bz2 crosstool-ng-c0cc73cd6f3040ea08dc09384aa289540b3fb2a2.zip |
Install canadian crosses into a separate subdir.
Makes them sorted out by host, and removes the need for similar hack in
samples.mk.
Change how canadian crosses are named: using `=' character resulted in
Glibc build failure.
Move loading config into a common function, CT_LoadConfig.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/showConfig.sh.in')
-rw-r--r-- | scripts/showConfig.sh.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/showConfig.sh.in b/scripts/showConfig.sh.in new file mode 100644 index 00000000..b4399959 --- /dev/null +++ b/scripts/showConfig.sh.in @@ -0,0 +1,15 @@ +#!@@CT_bash@@ + +# What we need: +# - the .config file + +# Parse the tools' paths configuration +. "${CT_LIB_DIR}/paths.sh" + +# Parse the common functions +. "${CT_LIB_DIR}/scripts/functions" + +# Read the sample settings +CT_LoadConfig + +eval "echo \"$1\"" |