mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-04 13:47:23 +01:00
* Set default CPU type to cpu_pic32mx and FPU type to fpu_soft when compiling for mipsel-embedded, patch from Michael Ring.
git-svn-id: trunk@28692 -
This commit is contained in:
parent
29e5418a4f
commit
ba324b1bf0
@ -3493,6 +3493,16 @@ if (target_info.abi = abi_eabihf) then
|
||||
if not option.FPUSetExplicitly then
|
||||
init_settings.fputype:=fpu_mips2;
|
||||
end;
|
||||
system_mipsel_embedded:
|
||||
begin
|
||||
{ set default cpu type to PIC32MX and softfloat for MIPSEL-EMBEDDED target unless specified otherwise }
|
||||
if not option.CPUSetExplicitly then
|
||||
init_settings.cputype:=cpu_pic32mx;
|
||||
if not option.OptCPUSetExplicitly then
|
||||
init_settings.optimizecputype:=cpu_pic32mx;
|
||||
if not option.FPUSetExplicitly then
|
||||
init_settings.fputype:=fpu_soft;
|
||||
end;
|
||||
end;
|
||||
{$endif mipsel}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user