From 9b6e434036ee10a5ee7f6fc059e8cbc4c1675042 Mon Sep 17 00:00:00 2001 From: kongfl888 K Date: Mon, 24 Aug 2020 04:01:10 +0000 Subject: [PATCH 1/2] Coremark: bump to ver 2020-05-28 Signed-off-by: kongfl888 K --- utils/coremark/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/coremark/Makefile b/utils/coremark/Makefile index 371981e5b..b37895c64 100644 --- a/utils/coremark/Makefile +++ b/utils/coremark/Makefile @@ -8,13 +8,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=coremark -PKG_SOURCE_DATE:=2020-01-19 -PKG_SOURCE_VERSION:=0c91314d1a4fdfc157d623ad5cb6ac5aef746db1 +PKG_SOURCE_DATE:=2020-05-28 +PKG_SOURCE_VERSION:=7685fd32bd7919581bfff2881a6dac6320581400 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_DATE).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/eembc/coremark/tar.gz/$(PKG_SOURCE_VERSION)? -PKG_HASH:=ed046fc8b4402090a9a4aaea14013489c3184617da493a70c7576da69efea8ba +PKG_HASH:=ff7ee8b4d333893c1ea68616227b369581926d706c7df720b649e0a0631903a9 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_SOURCE_VERSION) PKG_MAINTAINER:=Lim Guo Wei From 642599e8c545088ae4f01474c1053cb3e0bf2c94 Mon Sep 17 00:00:00 2001 From: kongfl888 K Date: Mon, 24 Aug 2020 04:01:10 +0000 Subject: [PATCH 2/2] Coremark: update the compilation for 64bit Signed-off-by: kongfl888 K --- utils/coremark/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/utils/coremark/Makefile b/utils/coremark/Makefile index b37895c64..81f0d101e 100644 --- a/utils/coremark/Makefile +++ b/utils/coremark/Makefile @@ -34,10 +34,12 @@ define Package/coremark/description Embedded Microprocessor Benchmark endef +DIR_ARCH:=linux$(if $(CONFIG_ARCH_64BIT),64) + define Build/Compile - $(SED) 's|EXE = .exe|EXE =|' $(PKG_BUILD_DIR)/linux/core_portme.mak + $(SED) 's|EXE = .exe|EXE =|' $(PKG_BUILD_DIR)/$(DIR_ARCH)/core_portme.mak mkdir $(PKG_BUILD_DIR)/$(ARCH) - $(CP) -r $(PKG_BUILD_DIR)/linux/* $(PKG_BUILD_DIR)/$(ARCH) + $(CP) -r $(PKG_BUILD_DIR)/$(DIR_ARCH)/* $(PKG_BUILD_DIR)/$(ARCH) $(MAKE) -C $(PKG_BUILD_DIR) PORT_DIR=$(ARCH) $(MAKE_FLAGS) \ compile endef