mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 12:57:53 +00:00
scripts: prevent trailing - in CT_TARGET
Not all target tuples consist of an VENDOR, KERNEL and SYSTEM part, build up the tuple in such a way to no extra or trailing dashes are added to CT_TARGET Signed-off-by: Bart vdr Meulen <bartvdrmeulen@gmail.com>
This commit is contained in:
parent
1ef028c7e6
commit
d068fcb19c
@ -860,10 +860,10 @@ CT_DoBuildTargetTuple() {
|
|||||||
CT_DoKernelTupleValues
|
CT_DoKernelTupleValues
|
||||||
|
|
||||||
# Finish the target tuple construction
|
# Finish the target tuple construction
|
||||||
CT_TARGET="${CT_TARGET_ARCH}-"
|
CT_TARGET="${CT_TARGET_ARCH}"
|
||||||
CT_TARGET="${CT_TARGET}${CT_TARGET_VENDOR:+${CT_TARGET_VENDOR}-}"
|
CT_TARGET="${CT_TARGET}${CT_TARGET_VENDOR:+-${CT_TARGET_VENDOR}}"
|
||||||
CT_TARGET="${CT_TARGET}${CT_TARGET_KERNEL:+${CT_TARGET_KERNEL}-}"
|
CT_TARGET="${CT_TARGET}${CT_TARGET_KERNEL:+-${CT_TARGET_KERNEL}}"
|
||||||
CT_TARGET="${CT_TARGET}${CT_TARGET_SYS}"
|
CT_TARGET="${CT_TARGET}${CT_TARGET_SYS:+-${CT_TARGET_SYS}}"
|
||||||
|
|
||||||
# Sanity checks
|
# Sanity checks
|
||||||
__sed_alias=""
|
__sed_alias=""
|
||||||
|
Loading…
Reference in New Issue
Block a user