|
@@ -297,7 +297,7 @@ check_arm_abi = \
|
|
echo "External toolchain uses the unsuported OABI" ; \
|
|
echo "External toolchain uses the unsuported OABI" ; \
|
|
exit 1 ; \
|
|
exit 1 ; \
|
|
fi ; \
|
|
fi ; \
|
|
- if ! echo 'int main(void) {}' | $${__CROSS_CC} -x c -o /dev/null - 2>/dev/null; then \
|
|
|
|
|
|
+ if ! echo 'int main(void) {}' | $${__CROSS_CC} -x c -o /dev/null - ; then \
|
|
abistr_$(BR2_ARM_EABI)='EABI'; \
|
|
abistr_$(BR2_ARM_EABI)='EABI'; \
|
|
abistr_$(BR2_ARM_EABIHF)='EABIhf'; \
|
|
abistr_$(BR2_ARM_EABIHF)='EABIhf'; \
|
|
echo "Incorrect ABI setting: $${abistr_y} selected, but toolchain is incompatible"; \
|
|
echo "Incorrect ABI setting: $${abistr_y} selected, but toolchain is incompatible"; \
|