适配 Immortalwrt,调整部分架构

注: INCLUDE_DRM_I915 仅适用于 Lean 源码
This commit is contained in:
Hyy2001X
2021-03-24 20:50:54 +08:00
parent 8c4ec5a1d7
commit 056fe3950a
9 changed files with 121 additions and 103 deletions
+7
View File
@@ -0,0 +1,7 @@
DISTRIB_ID='%D'
DISTRIB_RELEASE='%V'
DISTRIB_REVISION=''
DISTRIB_TARGET='%S'
DISTRIB_ARCH='%A'
DISTRIB_DESCRIPTION='ImmortalWrt Template'
DISTRIB_TAINTS='%t'
View File
View File
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
echo -e "\nRunning CoreMark test,please wait ..."
Scores=$(cat /tmp/coremark.log 2> /dev/null | grep "CoreMark 1.0" | awk '{print $4}')
Processer=$(awk -F ':[ ]' '/model name/{printf ($2);exit}' /proc/cpuinfo)
Time=$(grep "Total time" /tmp/coremark.log | awk '{print $4}')
[[ -z "${Processer}" ]] && Processer=Unknown
echo -e "\nProcesser: ${Processer}\nScore: ${Scores}\nTime costs: ${Time}"
View File
View File
+1 -1
View File
@@ -13,4 +13,4 @@ config timeserver 'ntp'
list server 'ntp1.aliyun.com'
list server 'time1.cloud.tencent.com'
list server 'time.ustc.edu.cn'
list server 'cn.pool.ntp.org'
list server 'cn.pool.ntp.org'