From 3e7c32a48de6f50f6308053a6c88fe8898246033 Mon Sep 17 00:00:00 2001 From: kongfl888 K Date: Thu, 20 Aug 2020 03:00:27 -0500 Subject: [PATCH] Coremark: use the general way to detect 64bit or not. (#5330) Signed-off-by: kongfl888 K --- package/lean/coremark/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package/lean/coremark/Makefile b/package/lean/coremark/Makefile index c4badfb7e..714c08060 100644 --- a/package/lean/coremark/Makefile +++ b/package/lean/coremark/Makefile @@ -37,10 +37,9 @@ endef DIR_ARCH:=linux -ifeq ($(ARCH),x86_64) +ifeq ($(CONFIG_ARCH_64BIT),y) DIR_ARCH:=linux64 -endif -ifeq ($(ARCH),aarch64) +else ifeq ($(CONFIG_64BIT),y) DIR_ARCH:=linux64 endif