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
This commit is contained in:
JochiPochi 2016-07-13 11:35:10 -04:00
parent b9cfe4649b
commit 5ef632ccb8
1 changed files with 2 additions and 0 deletions

View File

@ -11,3 +11,5 @@ SRC_URI[sha256sum] = "f059350cd85fc3b8394ed0c3bd0d4b8d14fa9c8edd09c3ee01881b4711
S = "${WORKDIR}/${ROS_SP}" S = "${WORKDIR}/${ROS_SP}"
inherit cmake ros faulty-solibs inherit cmake ros faulty-solibs
ALLOW_EMPTY_${PN} = "1"