mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-29 17:18:53 +00:00
395dca5ea8
Add Microblaze architecture support. This depends on EXPERIMENTAL, as upstream projects do not yet include full support to build a modern microblaze compiler. This is in the process of being updated, but is not currently publicly accessible. Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com> Message-Id: <9c93e18b3d68b19303f3.1348113870@localhost.localdomain> PatchWork-ID: 185305
22 lines
502 B
Bash
22 lines
502 B
Bash
# Compute microblaze specific values
|
|
|
|
CT_DoArchTupleValues () {
|
|
# The architecture part of the tuple:
|
|
CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}"
|
|
|
|
# gcc ./configure flags
|
|
CT_ARCH_WITH_ARCH=
|
|
CT_ARCH_WITH_ABI=
|
|
CT_ARCH_WITH_CPU=
|
|
CT_ARCH_WITH_TUNE=
|
|
CT_ARCH_WITH_FPU=
|
|
CT_ARCH_WITH_FLOAT=
|
|
|
|
# CFLAGS
|
|
case "${CT_ARCH_FLOAT_HW},${CT_ARCH_FLOAT_SW}" in
|
|
y,) CT_ARCH_FLOAT_CFLAG="-mhard-float" ;;
|
|
,y) CT_ARCH_FLOAT_CFLAG="-msoft-float" ;;
|
|
esac
|
|
|
|
}
|