mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
21
package/clinfo/clinfo.mk
Normal file
21
package/clinfo/clinfo.mk
Normal file
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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))
|
||||
Reference in New Issue
Block a user