improve of cmpl.
[bush.git] / tools / build-srcpkg-bak-20240503 / platform / target_info.imi
blob0ee460a809f1d8116aaa80fc14a93ec931280170
3 # TARGET toolchain info.
6 MACHINE="${TARGET_MACHINE}"
7 OS="${TARGET_OS}"
8 VENDOR="${TARGET_VENDOR}"
9 MACHTYPE="${TARGET_MACHTYPE}"
10 TOOLCHAIN="${TARGET_TOOLCHAIN:-"gcc"}"
13 #   'TOOLCHAIN' should be defined before source.
14 #   it add DIR_PFX & CROSS pfx for toolchain cmd in toolchain/${TOOLCHAIN}.imi
15 # or ${MACHINE}-${OS}-${VENDOR}.imi.
16
17 inc platform.imi
21 # after this defination, invoke 'without_pfx TARGET_' to set them without pfx.
23 TARGET_DIR_PFX="${DIR_PFX}"
24 TARGET_CROSS="${DIR_PFX}${MACHTYPE}"
26 TARGET_ASM="${ASM}"
27 TARGET_CC="${CC}"
28 TARGET_CPP="${CPP}"
29 TARGET_LINK="${LINK}"
30 TARGET_SLIB="${SLIB}"
31 TARGET_DLIB="${DLIB}"
32 TARGET_RANLIB="${RANLIB}"
34 TARGET_STRIP="${STRIP}"
35 TARGET_OBJDUMP="${OBJDUMP}"
36 TARGET_OBJCOPY="${OBJCOPY}"
37 TARGET_READELF="${READELF}"
38 TARGET_NM="${NM}"
39 TARGET_SIZE="${SIZE}"
40 TARGET_GCOV="${GCOV}"
41 TARGET_GDB="${GDB}"
42 TARGET_GPROF="${GPROF}"
43 TARGET_ADDR2LINE="${ADDR2LINE}"