initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_CLINFO
|
||||
bool "clinfo"
|
||||
depends on BR2_PACKAGE_HAS_LIBOPENCL
|
||||
help
|
||||
clinfo is a simple command-line application that enumerates
|
||||
all possible (known) properties of the OpenCL platform and
|
||||
devices available on the system.
|
||||
|
||||
https://github.com/Oblomov/clinfo
|
||||
|
||||
comment "clinfo needs an OpenCL provider"
|
||||
depends on !BR2_PACKAGE_HAS_LIBOPENCL
|
||||
@@ -0,0 +1,4 @@
|
||||
# locally calculated
|
||||
sha256 e52f5c374a10364999d57a1be30219b47fb0b4f090e418f2ca19a0c037c1e694 clinfo-3.0.21.02.21.tar.gz
|
||||
sha256 a2010f343487d3f7618affe54f789f5487602331c0a8d03f49e9a7c547cf0499 legalcode.txt
|
||||
sha256 2a7a9321be169ea6edbc6b1010e8f7bb0f4c1482a2f65c34a49e9719f129b79a LICENSE
|
||||
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# clinfo
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CLINFO_VERSION = 3.0.21.02.21
|
||||
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