From: Alejandro Enedino Hernandez Samaniego
<[email protected]>
The opencl-headers package simply contains headers, hence they are all
contained within the opencl-headers-dev package.
This causes the opencl-headers to be empty and the default behavior is
to not create empty packages, although due to rpm packaging behavior a
dependency exists between the opencl-headers-dev package and the
opencl-headers, which causes an error when creating the rootfs.
Use ALLOW_EMPTY_${PN}= "1" to allow the empty package to be created,
that way dependencies are fullfilled when creating the rootfs.
Signed-off-by: Alejandro Enedino Hernandez Samaniego <[email protected]>
Signed-off-by: Manjukumar Matha <[email protected]>
---
meta-xilinx-bsp/recipes-xrt/opencl-headers/opencl-headers_%.bbappend | 1 +
1 file changed, 1 insertion(+)
create mode 100644
meta-xilinx-bsp/recipes-xrt/opencl-headers/opencl-headers_%.bbappend
diff --git
a/meta-xilinx-bsp/recipes-xrt/opencl-headers/opencl-headers_%.bbappend
b/meta-xilinx-bsp/recipes-xrt/opencl-headers/opencl-headers_%.bbappend
new file mode 100644
index 0000000..afe3e9c
--- /dev/null
+++ b/meta-xilinx-bsp/recipes-xrt/opencl-headers/opencl-headers_%.bbappend
@@ -0,0 +1 @@
+ALLOW_EMPTY_${PN} = "1"
--
2.7.4
--
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx