Skip to content
Snippets Groups Projects
Commit 5ef632cc authored by JochiPochi's avatar JochiPochi
Browse files

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
parent b9cfe464
No related branches found
No related tags found
No related merge requests found
......@@ -11,3 +11,5 @@ SRC_URI[sha256sum] = "f059350cd85fc3b8394ed0c3bd0d4b8d14fa9c8edd09c3ee01881b4711
S = "${WORKDIR}/${ROS_SP}"
inherit cmake ros faulty-solibs
ALLOW_EMPTY_${PN} = "1"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment