From 8148794317825a607676523a3ac8157afa1fd73b Mon Sep 17 00:00:00 2001 From: Alejandro Enedino Hernandez Samaniego Date: Thu, 18 Apr 2019 17:36:09 -0700 Subject: opencl-clhpp: Allow empty packages to be built 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 Signed-off-by: Manjukumar Matha --- 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 3e0eaf37..9af4442d 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" -- cgit v1.2.3-54-g00ecf