blob: cf086923163afdc69c8b3b594f79a26ed10a8523 [file] [log] [blame]
################################################################################
#
# clinfo
#
################################################################################
CLINFO_VERSION = 2.2.18.03.26
CLINFO_SITE = $(call github,Oblomov,clinfo,$(CLINFO_VERSION))
CLINFO_LICENSE = CC0-1.0
CLINFO_LICENSE_FILES = legalcode.txt LICENSE
CLINFO_DEPENDENCIES = libopencl
define CLINFO_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
endef
define CLINFO_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 755 $(@D)/clinfo $(TARGET_DIR)/usr/bin/clinfo
endef
$(eval $(generic-package))