Initial Commit
- initial default booting image
This commit is contained in:
6
package/opencl-headers/Config.in
Normal file
6
package/opencl-headers/Config.in
Normal file
@@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_OPENCL_HEADERS
|
||||
bool "opencl-headers"
|
||||
help
|
||||
C language headers for the OpenCL API
|
||||
|
||||
https://github.com/KhronosGroup/OpenCL-Headers
|
||||
3
package/opencl-headers/opencl-headers.hash
Normal file
3
package/opencl-headers/opencl-headers.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
#Locally generated
|
||||
sha256 98f0a3ea26b4aec051e533cb1750db2998ab8e82eda97269ed6efe66ec94a240 OpenCL-Headers-2025.07.22.tar.gz
|
||||
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
|
||||
26
package/opencl-headers/opencl-headers.mk
Normal file
26
package/opencl-headers/opencl-headers.mk
Normal file
@@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
#
|
||||
# opencl-headers
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# The opencl-headers, opencl-icd-loader, and opencl-clhpp packages
|
||||
# must always be updated together to compatible versions.
|
||||
# Version desynchronization may result in build or runtime errors.
|
||||
# When updating one of them, make sure to check and update the others.
|
||||
|
||||
OPENCL_HEADERS_VERSION = 2025.07.22
|
||||
OPENCL_HEADERS_SOURCE = OpenCL-Headers-$(OPENCL_HEADERS_VERSION).tar.gz
|
||||
OPENCL_HEADERS_SITE = $(call github,KhronosGroup,OpenCL-Headers,v$(OPENCL_HEADERS_VERSION))
|
||||
OPENCL_HEADERS_LICENSE = Apache-2.0
|
||||
OPENCL_HEADERS_LICENSE_FILES = LICENSE
|
||||
OPENCL_HEADERS_INSTALL_STAGING = YES
|
||||
OPENCL_HEADERS_INSTALL_TARGET = NO
|
||||
|
||||
define OPENCL_HEADERS_INSTALL_STAGING_CMDS
|
||||
mkdir -p $(STAGING_DIR)/usr/include/CL
|
||||
$(INSTALL) -D -m 0644 $(@D)/CL/* \
|
||||
$(STAGING_DIR)/usr/include/CL
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user