mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 09:06:19 +00:00
Mark broken samples as such: use a file named 'broken' in the sample's directory.
Reflected this state when listing samples (in scripts/showSamples.sh).
This commit is contained in:
parent
a7a625877c
commit
2e925f1569
0
samples/armeb-unknown-linux-gnu/broken
Normal file
0
samples/armeb-unknown-linux-gnu/broken
Normal file
0
samples/armeb-unknown-linux-uclibc/broken
Normal file
0
samples/armeb-unknown-linux-uclibc/broken
Normal file
@ -11,12 +11,11 @@ dump_single_sample() {
|
||||
local width="$1"
|
||||
local sample="$2"
|
||||
. "${CT_TOP_DIR}/samples/${sample}/crosstool.config"
|
||||
# Build the components string
|
||||
local str="${CT_KERNEL}-${CT_KERNEL_VERSION}"
|
||||
str="${str} binutils-${CT_BINUTILS_VERSION}"
|
||||
str="${str} ${CT_CC}-${CT_CC_VERSION}"
|
||||
str="${str} ${CT_LIBC}-${CT_LIBC_VERSION}"
|
||||
printf " %-*s - %s\n" ${width} "${sample}" "${str}"
|
||||
printf " %-*s" ${width} "${sample}"
|
||||
[ -f "${CT_TOP_DIR}/samples/${sample}/broken" ] && printf " (broken)"
|
||||
echo
|
||||
echo " | ${CT_KERNEL}-${CT_KERNEL_VERSION} binutils-${CT_BINUTILS_VERSION}"
|
||||
echo " \ ${CT_CC}-${CT_CC_VERSION} ${CT_LIBC}-${CT_LIBC_VERSION}"
|
||||
}
|
||||
|
||||
# Get largest sample width
|
||||
|
Loading…
x
Reference in New Issue
Block a user