summaryrefslogtreecommitdiff
path: root/scripts/showSamples.sh
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2015-11-04 10:50:05 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2015-11-04 10:50:05 (GMT)
commit85f98147f57b3001282fc0365be245b9c81a3a16 (patch)
tree5f5287226ebc2039b016deff29eea450409c900f /scripts/showSamples.sh
parent5ffc9ecd10dec73024f8e7f3815c7b2f0851ba56 (diff)
parentb2f8afef8532247c60764fffc938898903c06a4c (diff)
Merge pull request #233 from stilor/fix-build-all
Fix build-all
Diffstat (limited to 'scripts/showSamples.sh')
-rwxr-xr-xscripts/showSamples.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/showSamples.sh b/scripts/showSamples.sh
index 684e118..76609f2 100755
--- a/scripts/showSamples.sh
+++ b/scripts/showSamples.sh
@@ -23,10 +23,16 @@ dump_single_sample() {
[ "$1" = "-v" ] && verbose=1 && shift
[ "$1" = "-w" ] && wiki=1 && shift
local sample="$1"
+ . $(pwd)/.config.sample
case "${sample}" in
current)
sample_type="l"
sample="$( ${CT_NG} show-tuple )"
+ case "${CT_TOOLCHAIN_TYPE}" in
+ canadian)
+ sample="${CT_HOST},$sample"
+ ;;
+ esac
;;
*) if [ -f "${CT_TOP_DIR}/samples/${sample}/crosstool.config" ]; then
sample_top="${CT_TOP_DIR}"
@@ -37,7 +43,6 @@ dump_single_sample() {
fi
;;
esac
- . $(pwd)/.config.sample
if [ ${wiki} -eq 0 ]; then
width=14
printf "[%s" "${sample_type}"