mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-06-20 17:07:51 +00:00
Add missing protection on __aeabi_uldiv check under --keep-going
Partial backport of 2adb375c50
"Add option to avoid 64-bit multiplication"
This commit is contained in:
parent
c780095901
commit
30bc385124
|
@ -459,6 +459,13 @@ if_build_succeeded () {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# to be used instead of ! for commands run with
|
||||||
|
# record_status or if_build_succeeded
|
||||||
|
not() {
|
||||||
|
! "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
pre_print_configuration () {
|
pre_print_configuration () {
|
||||||
msg "info: $0 configuration"
|
msg "info: $0 configuration"
|
||||||
echo "MEMORY: $MEMORY"
|
echo "MEMORY: $MEMORY"
|
||||||
|
@ -920,7 +927,7 @@ component_build_arm_none_eabi_gcc_no_udbl_division () {
|
||||||
scripts/config.pl set MBEDTLS_NO_UDBL_DIVISION
|
scripts/config.pl set MBEDTLS_NO_UDBL_DIVISION
|
||||||
make CC=arm-none-eabi-gcc AR=arm-none-eabi-ar LD=arm-none-eabi-ld CFLAGS='-Werror -Wall -Wextra' lib
|
make CC=arm-none-eabi-gcc AR=arm-none-eabi-ar LD=arm-none-eabi-ld CFLAGS='-Werror -Wall -Wextra' lib
|
||||||
echo "Checking that software 64-bit division is not required"
|
echo "Checking that software 64-bit division is not required"
|
||||||
! grep __aeabi_uldiv library/*.o
|
if_build_succeeded not grep __aeabi_uldiv library/*.o
|
||||||
}
|
}
|
||||||
|
|
||||||
component_build_armcc () {
|
component_build_armcc () {
|
||||||
|
|
Loading…
Reference in a new issue