diff options
author | 2019-04-18 17:36:09 -0700 | |
---|---|---|
committer | 2019-06-28 16:00:12 -0700 | |
commit | 8148794317825a607676523a3ac8157afa1fd73b (patch) | |
tree | af329494ff74bb49fbdb046eefbe78433ddd3b3d | |
parent | f1eea49cd2e3ba606db810bcb26b1a9b03e14a88 (diff) | |
download | meta-xilinx-8148794317825a607676523a3ac8157afa1fd73b.tar.gz meta-xilinx-8148794317825a607676523a3ac8157afa1fd73b.tar.bz2 meta-xilinx-8148794317825a607676523a3ac8157afa1fd73b.zip |
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 <alejandr@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r-- | meta-xilinx-bsp/recipes-xrt/opencl-clhpp/opencl-clhpp_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
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" |