diff --git a/package/lean/coremark/Makefile b/package/lean/coremark/Makefile index c4badfb7e8..714c080608 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