improve of cmpl.
[bush.git] / tools / cmpl / platform / platform.imi
blob715f71ab1bb22c91f18bdf8f8ee6460be64f1470
3 # toolchain-cmd define.
5 inc toolchain/NULL.imi
6 inc toolchain/${TOOLCHAIN}.imi
8 MACHTYPE="$(get_machtype ${MACHINE} ${OS} ${INFO})"
10 DIR_PFX=""
13 # DIR_PFX, and toolchain-info.
14 # ignored if file not exist.
16 inc toolchain/${MACHTYPE}.imi
17 inc ~/.cmplr/toolchain/${TOOLCHAIN}/${MACHTYPE}-${VER}*.imi
19 [[ -n "$DIR_PFX" && "${DIR_PFX: -1:1}" != '/' ]] && DIR_PFX+="/"
21 CMPLCROSS="${DIR_PFX}${MACHTYPE:+${MACHTYPE}-}"