1.1 --- a/scripts/showSamples.sh Sun Feb 01 18:43:45 2009 +0000
1.2 +++ b/scripts/showSamples.sh Wed Jul 22 20:42:23 2009 +0200
1.3 @@ -34,6 +34,12 @@
1.4 [ "${CT_EXPERIMENTAL}" = "y" ] && printf "X" || printf " "
1.5 echo "]"
1.6 if [ ${verbose} -ne 0 ]; then
1.7 + case "${CT_TOOLCHAIN_TYPE}" in
1.8 + cross) ;;
1.9 + canadian)
1.10 + printf " Host : ${CT_HOST}\n"
1.11 + ;;
1.12 + esac
1.13 echo " OS : ${CT_KERNEL}${CT_KERNEL_VERSION:+-}${CT_KERNEL_VERSION}"
1.14 if [ "${CT_GMP_MPFR}" = "y" ]; then
1.15 echo " GMP/MPFR : gmp-${CT_GMP_VERSION} / mpfr-${CT_MPFR_VERSION}"
1.16 @@ -64,8 +70,13 @@
1.17 printf "| "
1.18 [ "${CT_EXPERIMENTAL}" = "y" ] && printf "X"
1.19 [ -f "${sample_top}/samples/${sample}/broken" ] && printf "B"
1.20 - printf ' '
1.21 - printf "| ''${CT_KERNEL}'' |"
1.22 + printf ' | '
1.23 + case "${CT_TOOLCHAIN_TYPE}" in
1.24 + cross) ;;
1.25 + canadian) printf "${CT_HOST}";;
1.26 + *) ;;
1.27 + esac
1.28 + printf " | ''${CT_KERNEL}'' |"
1.29 if [ "${CT_KERNEL}" != "bare-metal" ];then
1.30 if [ "${CT_KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR}" = "y" ]; then
1.31 printf " //custom// "
1.32 @@ -102,13 +113,7 @@
1.33 printf "| [[http://ymorin.is-a-geek.org/|YEM]] "
1.34 fi
1.35 )
1.36 - sample_updated=$(date -u "+%Y%m%d" \
1.37 - -d "$(LC_ALL=C svn info ${sample_top}/samples/${sample} \
1.38 - |GREP_OPTIONS= "${grep}" -E '^Last Changed Date:' \
1.39 - |"${sed}" -r -e 's/^[^:]+: //;' \
1.40 - -e 's/^(.+:.. [+-][[:digit:]]{4}) \(.+\)$/\1/;' \
1.41 - )" \
1.42 - )
1.43 + sample_updated="$( hg log -l 1 --template '{date|shortdate}' "${sample_top}/samples/${sample}" )"
1.44 printf "| ${sample_updated} "
1.45 echo "|"
1.46 fi
1.47 @@ -124,6 +129,7 @@
1.48 echo "^ @@DATE@@ ^ |||||||||||||"
1.49 printf "^ Target "
1.50 printf "^ Status "
1.51 + printf "^ Host "
1.52 printf "^ Kernel headers\\\\\\\\ version ^"
1.53 printf "^ binutils\\\\\\\\ version "
1.54 printf "^ C compiler\\\\\\\\ version ^"