2018-10-21 00:14:37 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# clinfo
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-01-07 17:09:16 +01:00
|
|
|
CLINFO_VERSION = 3.0.20.11.20
|
2018-10-21 00:14:37 +02:00
|
|
|
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))
|