build: arm target support

This commit is contained in:
nillerusr
2021-04-25 23:36:09 +03:00
parent e794dbcbb1
commit 50a93ce91a
51 changed files with 8210 additions and 4386 deletions
+2 -1
View File
@@ -106,7 +106,7 @@ uint64 CalculateCPUFreq()
uint64 retVal = 1000000;
return retVal * atoi( pFreq );
}
#endif
#else
// Try to open cpuinfo_max_freq. If the kernel was built with cpu scaling support disabled, this will fail.
FILE *fp = fopen( "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", "r" );
@@ -177,5 +177,6 @@ uint64 CalculateCPUFreq()
}
return period;
#endif
}