aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-graphics/amdvlk
diff options
context:
space:
mode:
authorWade Farnsworth <wfarnsworth@users.noreply.github.com>2019-10-22 08:08:07 -0700
committerGitHub <noreply@github.com>2019-10-22 08:08:07 -0700
commit8e0cf9ee43840bd7ee004412129ba4aa055f5fc8 (patch)
treeb13804093e413307097cd6788ccdc8b062084013 /meta-amd-bsp/recipes-graphics/amdvlk
parent9e1e1da00d8ef569d83a7a742a734dbbf5e0bd13 (diff)
parent3f8062a03dc1d1d5fa386e1f1ca59d56b86a85d1 (diff)
downloadmeta-amd-master.tar.gz
meta-amd-master.tar.bz2
meta-amd-master.zip
Merge pull request #661 from ArsalanHAwan/master-merge-warriorHEADmaster
master: merge warrior
Diffstat (limited to 'meta-amd-bsp/recipes-graphics/amdvlk')
-rw-r--r--meta-amd-bsp/recipes-graphics/amdvlk/amdvlk_1.0.bb23
-rw-r--r--meta-amd-bsp/recipes-graphics/amdvlk/files/amd_icd64.json8
-rw-r--r--meta-amd-bsp/recipes-graphics/amdvlk/files/amdvlk64.sobin0 -> 40750352 bytes
3 files changed, 31 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-graphics/amdvlk/amdvlk_1.0.bb b/meta-amd-bsp/recipes-graphics/amdvlk/amdvlk_1.0.bb
new file mode 100644
index 00000000..42074425
--- /dev/null
+++ b/meta-amd-bsp/recipes-graphics/amdvlk/amdvlk_1.0.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "AMD Vulkan ICD Library"
+LICENSE = "BSD"
+RDEPENDS_${PN} = "libdrm vulkan"
+
+LIC_FILES_CHKSUM = "file://amd_icd64.json;md5=10cb7871f46c13ca7d2c9547969347b6"
+
+SRC_URI = "file://amdvlk64.so \
+ file://amd_icd64.json \
+"
+
+S = "${WORKDIR}"
+
+do_install() {
+ install -d ${D}/${sysconfdir}/vulkan/icd.d
+ install -m 0644 ${S}/amd_icd64.json ${D}/${sysconfdir}/vulkan/icd.d/
+ install -vd ${D}/${libdir}
+ install -m 0755 ${S}/amdvlk64.so ${D}/${libdir}
+}
+
+INSANE_SKIP_${PN} += "already-stripped ldflags file-rdeps"
+
+FILES_${PN} += "${libdir}"
+FILES_SOLIBSDEV = ""
diff --git a/meta-amd-bsp/recipes-graphics/amdvlk/files/amd_icd64.json b/meta-amd-bsp/recipes-graphics/amdvlk/files/amd_icd64.json
new file mode 100644
index 00000000..15c0c973
--- /dev/null
+++ b/meta-amd-bsp/recipes-graphics/amdvlk/files/amd_icd64.json
@@ -0,0 +1,8 @@
+{
+ "file_format_version": "1.0.0",
+ "ICD": {
+ "library_path": "/usr/lib64/amdvlk64.so",
+ "api_version": "1.1.96"
+ }
+}
+
diff --git a/meta-amd-bsp/recipes-graphics/amdvlk/files/amdvlk64.so b/meta-amd-bsp/recipes-graphics/amdvlk/files/amdvlk64.so
new file mode 100644
index 00000000..b0b96918
--- /dev/null
+++ b/meta-amd-bsp/recipes-graphics/amdvlk/files/amdvlk64.so
Binary files differ