diff options
author | kongfl888 K <kongfl888@outlook.com> | 2020-08-24 04:01:10 +0000 |
---|---|---|
committer | kongfl888 K <kongfl888@outlook.com> | 2020-08-24 04:01:10 +0000 |
commit | 642599e8c545088ae4f01474c1053cb3e0bf2c94 (patch) | |
tree | 05c69f3b9f7d5070fb7f239cd0ed629218e8075d | |
parent | 9b6e434036ee10a5ee7f6fc059e8cbc4c1675042 (diff) |
Coremark: update the compilation for 64bit
Signed-off-by: kongfl888 K <kongfl888@outlook.com>
-rw-r--r-- | utils/coremark/Makefile | 6 |
1 files 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 |