Why is installing useless empty packages sane?

On Tue, Oct 23, 2018 at 6:05 PM Joshua Watt <jpewhac...@gmail.com> wrote:

> Causes the empty base package to be created so that RapidJSON can be
> sanely included in an SDK via IMAGE_INSTALL, RDEPENDS, and the like.
>
> Signed-off-by: Joshua Watt <jpewhac...@gmail.com>
> ---
>  meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb
> b/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb
> index 8ab35d224..76e01f824 100644
> --- a/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb
> +++ b/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb
> @@ -19,6 +19,7 @@ inherit cmake
>  EXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_TESTS=OFF
> -DRAPIDJSON_BUILD_EXAMPLES=OFF"
>
>  # RapidJSON is a header-only C++ library, so the main package will be
> empty.
> +ALLOW_EMPTY_${PN} = "1"
>
>  FILES_${PN}-dev += "${libdir}/cmake"
>  RDEPENDS_${PN}-dev = ""
> --
> 2.17.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to