1################################################################################ 2# 3# CoreMark 4# 5################################################################################ 6 7COREMARK_VERSION = 1.01 8COREMARK_SITE = $(call github,eembc,coremark,v$(COREMARK_VERSION)) 9COREMARK_LICENSE = Apache-2.0 10COREMARK_LICENSE_FILES = LICENSE.md 11 12define COREMARK_BUILD_CMDS 13 $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" -C $(@D) \ 14 PORT_DIR=linux$(if $(BR2_ARCH_IS_64),64) EXE= link 15endef 16 17define COREMARK_INSTALL_TARGET_CMDS 18 $(INSTALL) -D $(@D)/coremark $(TARGET_DIR)/usr/bin/coremark 19endef 20 21$(eval $(generic-package)) 22