[meta-xilinx] [meta-xilinx-bsp][PATCH 2/2] opencl-headers: Allow empty packages to be built
Manjukumar Matha
manjukumar.harthikote-matha at xilinx.com
Fri Jun 28 16:00:01 PDT 2019
From: Alejandro Enedino Hernandez Samaniego <alejandro.enedino.hernandez-samaniego at xilinx.com>
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 at xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
---
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
More information about the meta-xilinx
mailing list