From b98dbb994033099140eeba56f9b8355b4b7ec901 Mon Sep 17 00:00:00 2001 From: Alejandro Enedino Hernandez Samaniego Date: Thu, 18 Apr 2019 17:36:10 -0700 Subject: 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 Signed-off-by: Manjukumar Matha --- 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 00000000..afe3e9cd --- /dev/null +++ b/meta-xilinx-bsp/recipes-xrt/opencl-headers/opencl-headers_%.bbappend @@ -0,0 +1 @@ +ALLOW_EMPTY_${PN} = "1" -- cgit v1.2.3-54-g00ecf