22 lines
597 B
Makefile
22 lines
597 B
Makefile
|
################################################################################
|
||
|
#
|
||
|
# 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))
|