From aaf55a597ac76e8e2b4df91c777555bc457ee4e5 Mon Sep 17 00:00:00 2001 From: Jose Quaresma Date: Mon, 26 Oct 2020 11:39:02 +0000 Subject: spirv-tools: enable native build and install more header files (From OE-Core rev: ffcab997dd504922b4b55c78a88b97063668e42a) Signed-off-by: Jose Quaresma Signed-off-by: Richard Purdie --- meta/recipes-graphics/spir/spirv-tools_git.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/recipes-graphics') 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" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf