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:
parent
b9cfe4649b
commit
5ef632ccb8
|
@ -11,3 +11,5 @@ SRC_URI[sha256sum] = "f059350cd85fc3b8394ed0c3bd0d4b8d14fa9c8edd09c3ee01881b4711
|
|||
S = "${WORKDIR}/${ROS_SP}"
|
||||
|
||||
inherit cmake ros faulty-solibs
|
||||
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
|
|
Loading…
Reference in New Issue