[PATCH v5 2/6] spirv-tools: enable native build and install more header files

Jose Quaresma
2020-10-29T20:03:34Z

meta/recipes-graphics/spir/spirv-tools_git.bb | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/meta/recipes-graphics/spir/spirv-tools_git.bb b/meta/recipes-graphics/spir/spirv-tools_git.bb
index 8e8388e8d4..d1c2436cd9 100644
--- a/meta/recipes-graphics/spir/spirv-tools_git.bb
+++ b/meta/recipes-graphics/spir/spirv-tools_git.bb
@@ -29,7 +29,11 @@ EXTRA_OECMAKE += "-DSPIRV_WERROR=OFF"
do_install_append() {
install -d ${D}/${includedir}/spirv
install -m 0644 ${DEST_DIR}/spirv-headers/include/spirv/1.2/* ${D}/${includedir}/spirv
+ install -d ${D}/${includedir}/spirv/unified1
+ install -m 0644 ${DEST_DIR}/spirv-headers/include/spirv/unified1/* ${D}/${includedir}/spirv/unified1
}

FILES_SOLIBSDEV = ""
FILES_${PN} += "${libdir}/*.so"