Check-in [a97508d2ea]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Make "setup-cc" more selective about what it considers available toolchains
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: a97508d2ea2d7abf6872a7fc08b262f0a0d9ff10
User & Date: rkeene 2018-02-19 16:02:04
Context
2019-05-08
21:56
Tool versioning improvements check-in: 78c40ae32f user: rkeene tags: trunk
2018-02-19
16:02
Make "setup-cc" more selective about what it considers available toolchains check-in: a97508d2ea user: rkeene tags: trunk
06:44
Build-CC 0.15 check-in: 5f05979d8f user: rkeene tags: trunk, 0.15
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to setup-cc.

9
10
11
12
13
14
15




16
17
18
19
20
21
22
	fi

        platform="$(basename "${platform}")"

	if [ ! -d "${CCROOT}/${platform}/${platform}" ]; then
		continue
	fi





        platforms[${idx}]="${platform}"
        idx=$[${idx} + 1]
done

if [ -z "$1" ]; then
	echo "Available platforms:"







>
>
>
>







9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
	fi

        platform="$(basename "${platform}")"

	if [ ! -d "${CCROOT}/${platform}/${platform}" ]; then
		continue
	fi

	if [ ! -x "${CCROOT}/${platform}/bin/${platform}-gcc" -a ! -x "${CCROOT}/${platform}/bin/${platform}-cc" ]; then
		continue
	fi

        platforms[${idx}]="${platform}"
        idx=$[${idx} + 1]
done

if [ -z "$1" ]; then
	echo "Available platforms:"