diff options
author | Alejandro Enedino Hernandez Samaniego <alejandro.enedino.hernandez-samaniego@xilinx.com> | 2019-04-18 17:36:10 -0700 |
---|---|---|
committer | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2019-06-28 16:00:12 -0700 |
commit | b98dbb994033099140eeba56f9b8355b4b7ec901 (patch) | |
tree | 9238330921e27f829b0be520cef32b94c023467e | |
parent | 8148794317825a607676523a3ac8157afa1fd73b (diff) | |
download | meta-xilinx-b98dbb994033099140eeba56f9b8355b4b7ec901.tar.gz |
opencl-headers: Allow empty packages to be built
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 <alejandr@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r-- | meta-xilinx-bsp/recipes-xrt/opencl-headers/opencl-headers_%.bbappend | 1 |
1 files changed, 1 insertions, 0 deletions
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 00000000..afe3e9cd --- /dev/null +++ b/meta-xilinx-bsp/recipes-xrt/opencl-headers/opencl-headers_%.bbappend | |||
@@ -0,0 +1 @@ | |||
ALLOW_EMPTY_${PN} = "1" | |||