From c05a66e3f98fbecad0aacbd510799b6d25555af5 Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Sat, 23 Jan 2021 21:42:06 +0800 Subject: [PATCH] autocore: remove hack for ARMv8 The related issue was fixed so this hack is totally useless now. Signed-off-by: CN_SZTL (cherry-pick from 68692453e23f2f53ba32c21a315a2b06b786d9ba) --- package/lean/autocore/Makefile | 2 +- package/lean/autocore/files/arm/sbin/cpuinfo | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package/lean/autocore/Makefile b/package/lean/autocore/Makefile index f9c0a312cf..4ee9c9c1d1 100644 --- a/package/lean/autocore/Makefile +++ b/package/lean/autocore/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=autocore PKG_VERSION:=1 -PKG_RELEASE:=36 +PKG_RELEASE:=37 include $(INCLUDE_DIR)/package.mk diff --git a/package/lean/autocore/files/arm/sbin/cpuinfo b/package/lean/autocore/files/arm/sbin/cpuinfo index afdfc7a6fa..92c6f0bd9d 100755 --- a/package/lean/autocore/files/arm/sbin/cpuinfo +++ b/package/lean/autocore/files/arm/sbin/cpuinfo @@ -1,7 +1,6 @@ #!/bin/sh cpu_arch="$(cat "/proc/cpuinfo" | grep "model name" | sed -n "1p" | awk -F ': ' '{print $2}')" -[ -z "${cpu_arch}" ] && cpu_arch="ARMv8 Processor" cpu_cores="$(cat "/proc/cpuinfo" | grep "processor" | wc -l)" if grep -q "bcm27xx" "/etc/openwrt_release"; then