From: Alejandro Enedino Hernandez Samaniego
<[email protected]>
The opencl-clhpp package simply contains headers, hence they are all
contained within the opencl-clhpp-dev package.
This causes the opencl-clhpp 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-clhpp-dev package and the
opencl-clhpp, 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-clhpp/opencl-clhpp_git.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-xilinx-bsp/recipes-xrt/opencl-clhpp/opencl-clhpp_git.bb
b/meta-xilinx-bsp/recipes-xrt/opencl-clhpp/opencl-clhpp_git.bb
index 3e0eaf3..9af4442 100644
--- a/meta-xilinx-bsp/recipes-xrt/opencl-clhpp/opencl-clhpp_git.bb
+++ b/meta-xilinx-bsp/recipes-xrt/opencl-clhpp/opencl-clhpp_git.bb
@@ -25,3 +25,5 @@ do_install () {
install -d ${D}${includedir}/CL/
install -m 0644 ${S}/input_cl2.hpp ${D}${includedir}/CL/cl2.hpp
}
+
+ALLOW_EMPTY_${PN} = "1"
--
2.7.4
--
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx