From 5ef632ccb8d1a5b48eb1cc0d6e789585995309d8 Mon Sep 17 00:00:00 2001 From: JochiPochi Date: Wed, 13 Jul 2016 11:35:10 -0400 Subject: [PATCH] urdfdom-headers: Fix missing package Bitbake gives a dependency error when IMAGE_FEATURES += " dev-pkgs" is set. This is because the urdfdom-headers package contains headers only, as a result bitbake packages them into urdfdom-headers-dev and leaves urdfdom-headers empty. Since there are no files to be packaged into urdfdom-headers bitbake doesn't create the package. urdfdom-headers is a dependency of urdfdom-headers-dev by default so bitbake errors when building an image with dev-pkgs enabled. ALLOW_EMPTY tells bitbake to create a package even when nothing is in it. This resolves the dependency issue of urdfdom-headers-dev http://www.embeddedlinux.org.cn/OEManual/recipes_packages.html --- recipes-ros/urdfdom-headers/urdfdom-headers_0.3.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-ros/urdfdom-headers/urdfdom-headers_0.3.0.bb b/recipes-ros/urdfdom-headers/urdfdom-headers_0.3.0.bb index b442d1b..3a116a7 100644 --- a/recipes-ros/urdfdom-headers/urdfdom-headers_0.3.0.bb +++ b/recipes-ros/urdfdom-headers/urdfdom-headers_0.3.0.bb @@ -11,3 +11,5 @@ SRC_URI[sha256sum] = "f059350cd85fc3b8394ed0c3bd0d4b8d14fa9c8edd09c3ee01881b4711 S = "${WORKDIR}/${ROS_SP}" inherit cmake ros faulty-solibs + +ALLOW_EMPTY_${PN} = "1"