Commit a19faa5f authored by jdelange's avatar jdelange

* ocarina/src/backends/ocarina-backends-properties.adb

   ocarina/src/backends/ocarina-backends-properties.ads
   ocarina/src/backends/ocarina-backends-po_hi_c.adb
   ocarina/src/backends/ocarina-backends-po_hi_c-deployment.adb
   - Handle the WIN32 architecture in Makefiles



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/ocarina@4641 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent 939b586a
......@@ -2213,6 +2213,7 @@ package body Ocarina.Backends.PO_HI_C.Deployment is
Platform_LINUX32_XENOMAI_NATIVE |
Platform_Native_Compcert |
Platform_LINUX32_XENOMAI_POSIX |
Platform_WIN32 |
Platform_LINUX64 | Platform_LINUX32 =>
Append_Node_To_List
(RE (RE_Littleendian), CTN.Values (Endiannesses));
......
......@@ -242,6 +242,9 @@ package body Ocarina.Backends.PO_HI_C is
when Platform_LINUX32 =>
Write_Str ("linux32");
when Platform_WIN32 =>
Write_Str ("win32");
when Platform_LEON3_XM3 =>
Write_Str ("leon3-xm3");
......
......@@ -306,6 +306,7 @@ package body Ocarina.Backends.Properties is
Platform_Bench_Name : Name_Id;
Platform_Native_Compcert_Name : Name_Id;
Platform_LINUX32_Name : Name_Id;
Platform_Win32_Name : Name_Id;
Platform_LINUX32_Xenomai_Native_Name : Name_Id;
Platform_LINUX32_Xenomai_Posix_Name : Name_Id;
Platform_LINUX64_Name : Name_Id;
......@@ -2651,6 +2652,8 @@ package body Ocarina.Backends.Properties is
return Platform_X86_LINUXTASTE;
elsif P_Name = Platform_LINUX32_Name then
return Platform_LINUX32;
elsif P_Name = Platform_Win32_Name then
return Platform_WIN32;
elsif P_Name = Platform_LINUX32_Xenomai_Native_Name then
return Platform_LINUX32_XENOMAI_NATIVE;
elsif P_Name = Platform_LINUX32_Xenomai_Posix_Name then
......@@ -3208,6 +3211,7 @@ package body Ocarina.Backends.Properties is
Platform_X86_RTEMS_POSIX_Name
:= Get_String_Name ("x86_rtems_posix");
Platform_LINUX32_Name := Get_String_Name ("linux32");
Platform_Win32_Name := Get_String_Name ("win32");
Platform_LINUX32_Xenomai_Native_Name
:= Get_String_Name ("linux32_xenomai_native");
Platform_LINUX32_Xenomai_Posix_Name
......
......@@ -587,6 +587,7 @@ package Ocarina.Backends.Properties is
Platform_LEON3_XM3,
Platform_LEON3_XTRATUM,
Platform_LEON_ORK,
Platform_WIN32,
Platform_LINUX32,
Platform_LINUX32_XENOMAI_NATIVE,
Platform_LINUX32_XENOMAI_POSIX,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment